Integer ng.Element.get_width () vs. 1.1.0 Full+Lite

Gets the HTML Element outer width. This function differs from ng.Element.get_style('width') and returns the complete HTML Element width including padding and borders.

Return

Integer Required vs. 1.1.0 Full+Lite
The width in pixels. This value will include the padding and border size.

Examples

Using ng.Element.get_width()
In this example, we'll show the difference between the style width and the HTML Element width.
Demo:
Hello World

API Menu