Home Page Panel cueInterface Properties
A cueInterface
object is passed to both the main
home page 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 home page 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 home page 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 home page panel changes. The watcher will be invoked with the new state.
removeActiveWatcher(watcher: Function)
-
A function that removes a previously added watcher.