String ng.Element.get_style (String property) vs. 1.1.0 Full+Lite

Return the current CSS style value. All color values will be returned in a Hexadecimal code.

Some values might be calculated based on specific functions as the following:
  • zoom: will return the zoom percentage (e.g. 100%).
  • opacity: will return the opacity percentage (e.g. 100%).

Parameters

String property Required vs. 1.1.0 Full+Lite
The CSS property. This should be either in a camel case or hyphenated format.

Return

String Required vs. 1.1.0 Full+Lite
The CSS style value. Most numerical values (e.g. width, height) will include px as the measuring unit.

Examples

Using ng.Element.get_style(property)
Demo:
Output will show here!

API Menu