Skip to content

autoResizeCanvas Type missing in @lottiefiles/dotlottie-vue. #527

Open
@sanbei101

Description

@sanbei101

The configuration field autoResizeCanvas mentioned in the documentation does not appear in your library type definitions.

autoResizeCanvas boolean   true Enable or disable auto resize of canvas
declare const DotLottieVue: vue.DefineComponent<{
    animationId: {
        type: StringConstructor;
        required: false;
    };
    autoplay: {
        type: BooleanConstructor;
        required: false;
    };
    backgroundColor: {
        type: StringConstructor;
        required: false;
    };
    data: {
        type: (StringConstructor | ArrayBufferConstructor)[];
        required: false;
    };
    loop: {
        type: BooleanConstructor;
        required: false;
    };
    mode: {
        type: () => Mode;
        required: false;
    };
    renderConfig: {
        type: ObjectConstructor;
        required: false;
    };
    segment: {
        type: () => [number, number];
        required: false;
    };
    speed: {
        type: NumberConstructor;
        required: false;
    };
    src: {
        type: StringConstructor;
        required: false;
    };
    useFrameInterpolation: {
        type: BooleanConstructor;
        required: false;
    };
    marker: {
        type: StringConstructor;
        required: false;
    };
    playOnHover: {
        type: BooleanConstructor;
        required: false;
    };
    themeData: {
        type: StringConstructor;
        required: false;
    };
    themeId: {
        type: StringConstructor;
        required: false;
    };
}, () => VNode, unknown, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, vue.EmitsOptions, string, vue.PublicProps, Readonly<vue.ExtractPropTypes<{
    animationId: {
        type: StringConstructor;
        required: false;
    };
    autoplay: {
        type: BooleanConstructor;
        required: false;
    };
    backgroundColor: {
        type: StringConstructor;
        required: false;
    };
    data: {
        type: (StringConstructor | ArrayBufferConstructor)[];
        required: false;
    };
    loop: {
        type: BooleanConstructor;
        required: false;
    };
    mode: {
        type: () => Mode;
        required: false;
    };
    renderConfig: {
        type: ObjectConstructor;
        required: false;
    };
    segment: {
        type: () => [number, number];
        required: false;
    };
    speed: {
        type: NumberConstructor;
        required: false;
    };
    src: {
        type: StringConstructor;
        required: false;
    };
    useFrameInterpolation: {
        type: BooleanConstructor;
        required: false;
    };
    marker: {
        type: StringConstructor;
        required: false;
    };
    playOnHover: {
        type: BooleanConstructor;
        required: false;
    };
    themeData: {
        type: StringConstructor;
        required: false;
    };
    themeId: {
        type: StringConstructor;
        required: false;
    };
}>>, {
    autoplay: boolean;
    loop: boolean;
    useFrameInterpolation: boolean;
    playOnHover: boolean;
}, {}>;
type DotLottieVueInstance = InstanceType<typeof DotLottieVue> & DotLottieVueExposed;
declare const setWasmUrl: (url: string) => void;

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions