Skip to content

@bynary.composables.attribute.Function.useBooleanAttribute

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

@bynary/composables / @bynary/composables/attribute / useBooleanAttribute

Function: useBooleanAttribute()

useBooleanAttribute(attributeName, options?): WritableSignal<undefined | boolean>

Parameters

attributeName: string

The name of the attribute

options?: IUseBooleanAttributeOptions

A set of options

Returns

WritableSignal<undefined | boolean>

A signal holding the current value of the attribute as a boolean

Defined in

attribute/src/boolean-attribute.composable.ts:194

Clone this wiki locally