@vue-material/core
Version:
Yet another 'Material Design Components' library for Vue3.
31 lines (30 loc) • 1.17 kB
TypeScript
interface ScrollPosition {
x: number;
y: number;
}
declare function __VLS_template(): {
header?(_: {}): any;
wrapper?(_: {
class: string;
content: import('vue').Slot<any> | undefined;
}): any;
default?(_: {}): any;
};
declare const __VLS_component: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
modelValue: import('vue').PropType<ScrollPosition>;
}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
change: (value: ScrollPosition) => void;
scroll: (value: ScrollPosition) => void;
}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
modelValue: import('vue').PropType<ScrollPosition>;
}>> & Readonly<{
onChange?: ((value: ScrollPosition) => any) | undefined;
onScroll?: ((value: ScrollPosition) => any) | undefined;
}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, ReturnType<typeof __VLS_template>>;
export default _default;
type __VLS_WithTemplateSlots<T, S> = T & {
new (): {
$slots: S;
};
};