Conduit API
Case Study
 
Gadget only API -> ChangeHeight
 
This function is used to set the height of the gadget window.
 
ChangeHeight(newSize)
 
Parameter Description Range Type
newSize The height, in pixels, of the gadget window. >=0 int
 
None.
 
This function can only be used with the gadget window.
*Notice: API methods must be invoked after the web page has triggered the "onload" event.
 
This example contains an icon  ChangeHeight  which is located within the gadget window, that when clicked upon will cause the height of the gadget window to decrease by 10px every 50 milliseconds, until the gadget window is completely closed.