-
Notifications
You must be signed in to change notification settings - Fork 0
Winside API Reference
Spatchy edited this page Feb 1, 2023
·
6 revisions
The Winside API is a collection of functions exposed to a Winsert on the window.WinsertAPI object. These functions allow for special functionality for Winserts to perform actions on a user's device outside of the Winsert's own sandbox.
window.WinsertAPI.closeSidebar()
Will close the Active Winsert's sidebar as if the exit button was pressed.
- Params: none
- Returns: none
window.WinsertAPI.openLinkInBrowser(url)
Will open the given url in the user's default browser. (The sidebar will not be closed)
-
Params:
- url: <string> | The URI the browser will navigate to.
- Returns: none