dynamic:styling

Description

Works the same as the styling directive but watches for updates. This should only be used if it is required that the styling classes are updated after their initial value to improve performance.

Usage

as attribute
<ANY dynamic-styling="{string}">
   ...
</ANY>

Parameters

Param Type Details
dynamicStyling string

separated string of styles to apply to the element

Example

Source