auto-screen-view
Version:
大屏适配
85 lines (76 loc) • 2.89 kB
TypeScript
import { AllowedComponentProps } from 'vue';
import { App } from 'vue';
import { ComponentCustomProps } from 'vue';
import { ComponentOptionsBase } from 'vue';
import { ComponentOptionsMixin } from 'vue';
import { ComponentProvideOptions } from 'vue';
import { CreateComponentPublicInstanceWithMixins } from 'vue';
import { DefineComponent } from 'vue';
import { GlobalComponents } from 'vue';
import { GlobalDirectives } from 'vue';
import { PublicProps } from 'vue';
import { VNodeProps } from 'vue';
declare const __VLS_component: DefineComponent<AutoScreenProps, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<AutoScreenProps> & Readonly<{}>, {
originWidth: number;
originHeight: number;
fullScreen: boolean;
}, {}, {}, {}, string, ComponentProvideOptions, false, {
containerRef: HTMLDivElement;
}, HTMLDivElement>;
declare function __VLS_template(): {
attrs: Partial<{}>;
slots: {
default?(_: {}): any;
};
refs: {
containerRef: HTMLDivElement;
};
rootEl: HTMLDivElement;
};
declare type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
declare type __VLS_WithTemplateSlots<T, S> = T & {
new (): {
$slots: S;
};
};
export declare const AutoScreen: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
export declare interface AutoScreenProps {
originWidth?: number;
originHeight?: number;
fullScreen?: boolean;
}
declare const _default: {
new (...args: any[]): CreateComponentPublicInstanceWithMixins<Readonly< AutoScreenProps> & Readonly<{}>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, PublicProps, {
originWidth: number;
originHeight: number;
fullScreen: boolean;
}, false, {}, {}, GlobalComponents, GlobalDirectives, string, {
containerRef: HTMLDivElement;
}, HTMLDivElement, ComponentProvideOptions, {
P: {};
B: {};
D: {};
C: {};
M: {};
Defaults: {};
}, Readonly< AutoScreenProps> & Readonly<{}>, {}, {}, {}, {}, {
originWidth: number;
originHeight: number;
fullScreen: boolean;
}>;
__isFragment?: never;
__isTeleport?: never;
__isSuspense?: never;
} & ComponentOptionsBase<Readonly< AutoScreenProps> & Readonly<{}>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, {
originWidth: number;
originHeight: number;
fullScreen: boolean;
}, {}, string, {}, GlobalComponents, GlobalDirectives, string, ComponentProvideOptions> & VNodeProps & AllowedComponentProps & ComponentCustomProps & (new () => {
$slots: {
default?(_: {}): any;
};
}) & {
install: (vue: App) => void;
};
export default _default;
export { }