Skip to content

@bynary.composables.class.Function.useClasses

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

@bynary/composables / @bynary/composables/class / useClasses

Function: useClasses()

useClasses(initialValue): WritableSignal<string | string[]>

Parameters

initialValue: ClassList = []

The initial value of the signal

Returns

WritableSignal<string | string[]>

A signal that binds its value as a set of classes on the host element

Defined in

class/src/classes.composable.ts:149

Clone this wiki locally