Widgets are designed offer a chromeless experience on the desktop. Widgets are loaded via AJAX and integrate directly to CloudDesk to offer a powerful way to interact with CloudDesk. They can also be used as background scripts for apps. They have access to all CloudDesk APIs.

API Documentation

widgets.install(url,name)

Installs a widget

url

Widget URL.

name

Widget name.

widgets.remove(widget)

Removes a widget

widget

Widget ID

widgets.reload(widget)

Reloads a widget

widget

Widget ID

widgets.isinstalled(widget)

Check if widget is installed. Returns true if installed, false if not.

widget

Widget ID

widgets.list(view)

Returns an array of widgets that have the specified view