/mcp} else if (gadgetViewChangedEvent.getView() === 'canvas') { gadgets.window.adjustHeight(gadgetViewChangedEvent.getMaxAvailableHeight()); $('#content').html('CANVAS VIEW'); view = 'canvas'; } } Methods getGadgetId() Retrieves the gadget Id. Returns {String} Unique Identifier for the gadget changing view. getMaxAvailableHeight() Retrieves the maximum available height of the gadget. Returns {String} The maximum available height for the gadget's view. getTabId() Retrieves the tab Id. Returns {String} Unique Identifier for the tab where the gadget changing view resides. getView() Retrieves the gadget view. Returns {String} The view type of the gadget. Timer Tick Event Class finesse.containerservices.TimerTickEvent Contains information about the events of the timer-tick. The method to subscribe to the changed gadget event is finesse.containerservices.ContainerServices.addHandler() with a topic of finesse.containerservices.ContainerServices.Topics.TIMER_TICK_EVENT(). When the gadget is attaching a handler for the time ticker topic, it is called periodically with tick frequency mentioned. By default, the value is one second. For more information, see Finesse Container Timer, on page 402. Example finesse.containerservices.ContainerServices.addHandler(finesse.containerservices. ContainerServices.Topics.TIMER_TICK_EVENT,updateTimer); Cisco Finesse Web Services Developer and JavaScript Guide, Release 12.5(1) 434 Cisco Finesse JavaScript APIs Timer Tick Event