-
Notifications
You must be signed in to change notification settings - Fork 1
CSS.helper
jefferson oliveira edited this page Mar 7, 2018
·
3 revisions
CSS
Kind: global class
-
CSS
-
.getClassHash()() ⇒
String
-
.hasNicobar(element) ⇒
Boolean
-
.intelligentSelector(element) ⇒
String
-
.fromObjToCss(object) ⇒
String
-
.getClassHash()() ⇒
Creates a random class name.
Kind: instance method of CSS
Checks if the element has or not the Nicobar class name set
Kind: instance method of CSS
Returns: Boolean
- Status if the element has or not the nicobar class name
Param | Type | Description |
---|---|---|
element | HTMLElement |
Element that can already have added the Nicobar class |
Get's the name of the selector for the component
Kind: instance method of CSS
Returns: String
- selector string.
Param | Type |
---|---|
element | HTMLElement |
Conversts the Custom Properties object to CSS
Kind: instance method of CSS
Returns: String
- the CSS code with custom properties.
Param | Type | Description |
---|---|---|
object | Object |
Custom properties names collection |