HTML Apps -> GetCurrentWidth
This function is used to get the current width of the HTML component or the gadget window.
| Description |
Type |
| The width (in pixels) of the HTML component or gadget window . |
string |
This example contains an icon that when clicked, will display a message to the user containing the width of the HTML component. This example contains a button that when clicked upon will display a message to the user containing the width of the Gadget window.
Note: This Gadget example is represented by the icon in the demo toolbar.
| | |