Conduit API
Case Study
HTML Apps -> GetCurrentWidth
 
This function is used to get the current width of the HTML component or the gadget window.
 
GetCurrentWidth()
 
None.
 
Description Type
The width (in pixels) of the HTML component or gadget window . string
 
This function can be used both with the HTML component and with the gadget window.
*Notice: API methods must be invoked after the web page has triggered the "onload" event.
 
This example contains an icon  GetCurrentWidth  that when clicked, will display a message to the user containing the width of the HTML component.