Editor Side Panel cueInterface Properties
A cueInterface
object is passed to both the main
side panel component and to the icon component. In addition to the
basic properties described in
Creating a Web Component, this
cueInterface
object has the following properties
in each case:
For the editor side panel component
active
-
A boolean property that indicates whether or not the panel is currently active.
addActiveWatcher(watcher: Function)
-
A function that adds a watcher that will be notified when the active state of the editor side panel changes. The watcher will be invoked with the new state.
removeActiveWatcher(watcher: Function)
-
A function that removes a previously added watcher.
For the icon component
active
-
A boolean property that indicates whether or not the panel is currently active.
addActiveWatcher(watcher: Function)
-
A function that adds a watcher that will be notified when the active state of the editor side panel changes. The watcher will be invoked with the new state.
removeActiveWatcher(watcher: Function)
-
A function that removes a previously added watcher.