feat(Slideover): open programmatically (#1465)

Co-authored-by: Benjamin Canac <canacb1@gmail.com>
This commit is contained in:
Eugen Istoc
2024-03-21 12:48:35 -04:00
committed by GitHub
parent b0ecac563c
commit e7697595c8
10 changed files with 173 additions and 1 deletions

View File

@@ -17,6 +17,7 @@ export * from './kbd'
export * from './link'
export * from './meter'
export * from './modal'
export * from './slideover'
export * from './notification'
export * from './popper'
export * from './progress'

17
src/runtime/types/slideover.d.ts vendored Normal file
View File

@@ -0,0 +1,17 @@
import type { Component } from 'vue'
interface Slideover {
ui?: any;
side?: 'right' | 'left';
transition?: boolean;
appear?: boolean;
overlay?: boolean;
preventClose?: boolean;
modelValue?: boolean;
}
interface SlideoverState {
component: Component | string;
props: Slideover;
}