Skip to content

@bynary.composables.attribute.Function.bindAttribute

github-actions[bot] edited this page Jul 11, 2024 · 3 revisions

@bynary/composables / @bynary/composables/attribute / bindAttribute

Function: bindAttribute()

bindAttribute<T>(attributeName, value, options?): T

Type Parameters

T extends Signal<undefined | null | string>

Parameters

attributeName: string

The name of the attribute

value: T

The signal whose value should be bound

options?: IBindAttributeOptions

A set of options

Returns

T

The passed in signal (value parameter)

Defined in

attribute/src/attribute.composable.ts:247

Clone this wiki locally