API Docs for: 0.0.1
Show:

StyleBindingsMixin Class

Provides styleBindings property to bind style properties based on object 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

(
  • style
  • property
)
private

Build a style property and its value as a string.

Parameters:

  • style String

    property name

  • property String

    name 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.