Skip to content

@bynary.composables.class.Function.useModifierGroup

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

@bynary/composables / @bynary/composables/class / useModifierGroup

Function: useModifierGroup()

useModifierGroup<Modifier>(initialValue, options?): WritableSignal<Modifier>

Type Parameters

Modifier extends undefined | null | string

Parameters

initialValue: Modifier

The initial modifier

options?: IBindModifierGroupOptions

A set of options

Returns

WritableSignal<Modifier>

A signal that binds its value as a modifier class on the host element

Defined in

class/src/modifier-group.composable.ts:158

Clone this wiki locally