Skip to content

@epikodelabs/streamix


@epikodelabs/streamix / angular/src/public-api / bindStyle

Function: bindStyle() ​

bindStyle(source, target, property, options?): DirectBinding

Defined in: projects/libraries/streamix/angular/src/lib/direct-binding.ts:192

Directly binds one inline style property.

null / undefined / false remove the property. Other values are stringified.

Parameters ​

source ​

DependencySource<unknown>

target ​

HTMLElement

property ​

string

options? ​

DirectBindingOptions = {}

Returns ​

DirectBinding

Released under the MIT License.