@ark-ui/vue
Version:
A collection of unstyled, accessible UI components for Vue, utilizing state machines for seamless interaction.
48 lines (47 loc) • 1.41 kB
text/typescript
import { IframeHTMLAttributes, VNode, DefineComponent, Ref, ComponentOptionsMixin, PublicProps, ComponentProvideOptions } from 'vue';
export interface FrameBaseProps {
head?: VNode | VNode[];
srcDoc?: string;
}
export interface FrameEmits {
(event: 'mount'): void;
(event: 'unmount'): void;
}
export interface FrameProps extends FrameBaseProps,
/**
* @vue-ignore
*/
IframeHTMLAttributes {
}
declare function __VLS_template(): {
attrs: Partial<{}>;
slots: {
default?(_: {}): any;
head?(_: {}): any;
};
refs: {
frameRef: HTMLIFrameElement;
};
rootEl: any;
};
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
declare const __VLS_component: DefineComponent<FrameProps, {
frameRef: Ref<HTMLIFrameElement | null, HTMLIFrameElement | null>;
}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {} & {
mount: () => any;
unmount: () => any;
}, string, PublicProps, Readonly<FrameProps> & Readonly<{
onMount?: (() => any) | undefined;
onUnmount?: (() => any) | undefined;
}>, {
srcDoc: string;
}, {}, {}, {}, string, ComponentProvideOptions, false, {
frameRef: HTMLIFrameElement;
}, any>;
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
export default _default;
type __VLS_WithTemplateSlots<T, S> = T & {
new (): {
$slots: S;
};
};