Skip to content
Sheetwrite

Sheetwrite / Documentation

SheetwriteComponentConstructor@sheetwrite/vue

Vue constructor type for Sheetwrite components: Sheetwrite-owned props, emitted events exposed as on listener props, and the exposed instance surface reachable through a template ref.

Vue constructor type for Sheetwrite components: Sheetwrite-owned props, emitted events exposed as on* listener props, and the exposed instance surface reachable through a template ref.

Declaration

export type SheetwriteComponentConstructor<
Props,
Emits,
Expose = object,
> = new () => Expose &
ComponentPublicInstance & {
$props: AllowedComponentProps &
Props &
VNodeProps & {
[
EventName in keyof Emits & string as `on${Capitalize<EventName>}`
]?: (payload: Emits[EventName]) => void;
};
};