UNPKG

433 BTypeScriptView Raw
1import type { ComponentPublicInstance } from 'vue';
2import type { SwipeCellProps } from './SwipeCell';
3export type SwipeCellSide = 'left' | 'right';
4export type SwipeCellPosition = SwipeCellSide | 'cell' | 'outside';
5export type SwipeCellExpose = {
6 open: (side: SwipeCellSide) => void;
7 close: (position: SwipeCellPosition) => void;
8};
9export type SwipeCellInstance = ComponentPublicInstance<SwipeCellProps, SwipeCellExpose>;