Skip to content

@drawerly/vue / useDrawer

useDrawer()

ts
function useDrawer<TDrawerOptions>(drawerKey): UseDrawerResult<TDrawerOptions>;

Binds to the drawer with the given key.

Type Parameters

TDrawerOptions

TDrawerOptions extends VueDrawerOptions = VueDrawerOptions

Parameters

drawerKey

MaybeRefOrGetter<string>

Returns

UseDrawerResult<TDrawerOptions>

Released under the MIT License.