• Type Parameters

    • Props

    • RawBindings = object

    Parameters

    • setup: ((props, ctx) => RenderFunction | RawBindings)
        • (props, ctx): RenderFunction | RawBindings
        • Parameters

          • props: Readonly<Props>
          • ctx: {
                attrs: Data;
                emit: ((event, ...args) => void);
                expose: ((exposed?) => void);
                slots: Readonly<InternalSlots>;
            } | {
                attrs: Data;
                emit: ((event, ...args) => void);
                expose: ((exposed?) => void);
                slots: Readonly<InternalSlots>;
            }

          Returns RenderFunction | RawBindings

    Returns VueElementConstructor<Props>

  • Type Parameters

    Parameters

    • options: ComponentOptionsBase<Props & EmitsToProps<E>, RawBindings, D, C, M, Mixin, Extends, E, EE, {}, I, II, S> & {
          props?: undefined;
      } & ThisType<CreateComponentPublicInstance<Props & EmitsToProps<E>, RawBindings, D, C, M, Mixin, Extends, E, Props & EmitsToProps<E>, {}, false, I, S, IntersectionMixin<Mixin> & IntersectionMixin<Extends>, UnwrapMixinsType<IntersectionMixin<Mixin> & IntersectionMixin<Extends>, "P"> & EnsureNonVoid<Props & EmitsToProps<E>>, UnwrapMixinsType<IntersectionMixin<Mixin> & IntersectionMixin<Extends>, "B"> & EnsureNonVoid<RawBindings>, UnwrapMixinsType<IntersectionMixin<Mixin> & IntersectionMixin<Extends>, "D"> & EnsureNonVoid<D>, UnwrapMixinsType<IntersectionMixin<Mixin> & IntersectionMixin<Extends>, "C"> & EnsureNonVoid<C>, UnwrapMixinsType<IntersectionMixin<Mixin> & IntersectionMixin<Extends>, "M"> & EnsureNonVoid<M>, UnwrapMixinsType<IntersectionMixin<Mixin> & IntersectionMixin<Extends>, "Defaults"> & {}>> & {
          styles?: string[];
      }

    Returns VueElementConstructor<Props>

  • Type Parameters

    Parameters

    • options: ComponentOptionsBase<{
          [K in string | number | symbol]: Readonly<{
              [key in string]?: any
          } & EmitsToProps<E>>[K]
      }, RawBindings, D, C, M, Mixin, Extends, E, EE, {}, I, II, S> & {
          props: PropNames[];
      } & ThisType<CreateComponentPublicInstance<{
          [K in string | number | symbol]: Readonly<{
              [key in string]?: any
          } & EmitsToProps<E>>[K]
      }, RawBindings, D, C, M, Mixin, Extends, E, {
          [K in string | number | symbol]: Readonly<{
              [key in string]?: any
          } & EmitsToProps<E>>[K]
      }, {}, false, I, S, IntersectionMixin<Mixin> & IntersectionMixin<Extends>, UnwrapMixinsType<IntersectionMixin<Mixin> & IntersectionMixin<Extends>, "P"> & EnsureNonVoid<{
          [K in string | number | symbol]: Readonly<{
              [key in string]?: any
          } & EmitsToProps<E>>[K]
      }>, UnwrapMixinsType<IntersectionMixin<Mixin> & IntersectionMixin<Extends>, "B"> & EnsureNonVoid<RawBindings>, UnwrapMixinsType<IntersectionMixin<Mixin> & IntersectionMixin<Extends>, "D"> & EnsureNonVoid<D>, UnwrapMixinsType<IntersectionMixin<Mixin> & IntersectionMixin<Extends>, "C"> & EnsureNonVoid<C>, UnwrapMixinsType<IntersectionMixin<Mixin> & IntersectionMixin<Extends>, "M"> & EnsureNonVoid<M>, UnwrapMixinsType<IntersectionMixin<Mixin> & IntersectionMixin<Extends>, "Defaults"> & {}>> & {
          styles?: string[];
      }

    Returns VueElementConstructor<{
        [K in PropNames]: any
    }>

  • Type Parameters

    Parameters

    • options: ComponentOptionsBase<{
          [K in string | number | symbol]: Readonly<{
              [K in string | number | symbol]: InferPropType<PropsOptions[K]>
          } & {
              [K in string | number | symbol]?: InferPropType<PropsOptions[K]>
          } & EmitsToProps<E>>[K]
      }, RawBindings, D, C, M, Mixin, Extends, E, EE, ExtractDefaultPropTypes<PropsOptions>, I, II, S> & {
          props: PropsOptions & ThisType<void>;
      } & ThisType<CreateComponentPublicInstance<{
          [K in string | number | symbol]: Readonly<{
              [K in string | number | symbol]: InferPropType<PropsOptions[K]>
          } & {
              [K in string | number | symbol]?: InferPropType<PropsOptions[K]>
          } & EmitsToProps<E>>[K]
      }, RawBindings, D, C, M, Mixin, Extends, E, {
          [K in string | number | symbol]: Readonly<{
              [K in string | number | symbol]: InferPropType<PropsOptions[K]>
          } & {
              [K in string | number | symbol]?: InferPropType<PropsOptions[K]>
          } & EmitsToProps<E>>[K]
      }, ExtractDefaultPropTypes<PropsOptions>, false, I, S, IntersectionMixin<Mixin> & IntersectionMixin<Extends>, UnwrapMixinsType<IntersectionMixin<Mixin> & IntersectionMixin<Extends>, "P"> & EnsureNonVoid<{
          [K in string | number | symbol]: Readonly<{
              [K in string | number | symbol]: InferPropType<PropsOptions[K]>
          } & {
              [K in string | number | symbol]?: InferPropType<PropsOptions[K]>
          } & EmitsToProps<E>>[K]
      }>, UnwrapMixinsType<IntersectionMixin<Mixin> & IntersectionMixin<Extends>, "B"> & EnsureNonVoid<RawBindings>, UnwrapMixinsType<IntersectionMixin<Mixin> & IntersectionMixin<Extends>, "D"> & EnsureNonVoid<D>, UnwrapMixinsType<IntersectionMixin<Mixin> & IntersectionMixin<Extends>, "C"> & EnsureNonVoid<C>, UnwrapMixinsType<IntersectionMixin<Mixin> & IntersectionMixin<Extends>, "M"> & EnsureNonVoid<M>, UnwrapMixinsType<IntersectionMixin<Mixin> & IntersectionMixin<Extends>, "Defaults"> & EnsureNonVoid<ExtractDefaultPropTypes<PropsOptions>>>> & {
          styles?: string[];
      }

    Returns VueElementConstructor<ExtractPropTypes<PropsOptions>>

  • Type Parameters

    • P

    Parameters

    Returns VueElementConstructor<ExtractPropTypes<P>>

Generated using TypeDoc