Function defineSSRCustomElement
- defineSSRCustomElement<Props, RawBindings>(setup, options?): VueElementConstructor<Props>
Type Parameters
- Props
- RawBindings = object
- defineSSRCustomElement<Props, RawBindings>(setup, options?): VueElementConstructor<Props>
Type Parameters
- Props
- RawBindings = object
- defineSSRCustomElement<RuntimePropsOptions, PropsKeys, RuntimeEmitsOptions, EmitsKeys, Data, SetupBindings, Computed, Methods, Mixin, Extends, InjectOptions, InjectKeys, Slots, LocalComponents, Directives, Exposed, Provide, InferredProps, ResolvedProps>(options, extraOptions?): VueElementConstructor<ResolvedProps>
Parameters
- options: CustomElementOptions & {
props?: RuntimePropsOptions & ThisType<void> | PropsKeys[];
} & ComponentOptionsBase<ResolvedProps, SetupBindings, Data, Computed, Methods, Mixin, Extends, RuntimeEmitsOptions, EmitsKeys, {}, InjectOptions, InjectKeys, Slots, LocalComponents, Directives, Exposed, Provide> & ThisType<CreateComponentPublicInstanceWithMixins<Readonly<ResolvedProps>, SetupBindings, Data, Computed, Methods, Mixin, Extends, RuntimeEmitsOptions, EmitsKeys, {}, false, InjectOptions, Slots, LocalComponents, Directives, Exposed>> Optional
extraOptions: CustomElementOptions
- defineSSRCustomElement<T>(options, extraOptions?): VueElementConstructor<T extends DefineComponent<infer P, any, any, any>
? P
: unknown> Type Parameters
- T extends (new (...args: any[]) => any)