Self ng.Element.set_styles (Object obj) vs. 1.1.0 Full+Lite

Sets multiple CSS properties for the HTML Element.

Parameters

Object obj Required vs. 1.1.0 Full+Lite
An object that contains the CSS properties and values. e.g. {width:50, background:'#ff0000'}

Return

Self Required vs. 1.1.0 Full+Lite
The original HTML Element.

Examples

Using ng.Element.set_styles(obj)
Demo:
This is a div

API Menu