-
Notifications
You must be signed in to change notification settings - Fork 0
@bynary.composables.class.Interface.IUseClassOptions
github-actions[bot] edited this page Jul 11, 2024
·
3 revisions
@bynary/composables / @bynary/composables/class / IUseClassOptions
A set of options for useClass
optional
initialValue:boolean
Whether the class should be added initially. Defaults to true
const isLoading = useClass('label', { initialValue: false });
Will not set the class initially
<my-component class="loading"></my-component>