StyleBindingsMixin Class
Provides styleBindings property to bind style properties based on object properties.
Item Index
Methods
Properties
Methods
applyBindings
()
private
Apply the style bindings during the view init phase.
This method assumes that the attribute styleBindings is defined as an array of strings where
each string is a property name that should be resolved as a style option.
buildStyleString
(
private
-
style -
property
Build a style property and its value as a string.
Parameters:
-
styleStringproperty name
-
propertyStringname in the current object that should be resolved as the value of the style property.
Properties
attributeBindings
Array
Apply the style attribute to the DOM element.
concatenatedProperties
Array
Add styleBindings property as a concatenatedProperties.
unit
String
The default unit for numbered value.
