Skip to content

Type error: createTooltip modifiers should be optional #1083

@mrleblanc101

Description

@mrleblanc101

I think modifier should be optional.

-export declare function createTooltip(el: any, value: any, modifiers: any): {
+export declare function createTooltip(el: any, value: any, modifiers?: any): {
    options: any;
    item: {
        id: number;
        options: any;
        shown: Ref<boolean>;
    };
    show(): void;
    hide(): void;
};

At least the exemple in the documentation doesn't specify it.
It only has 2 arguments.
https://floating-vue.starpad.dev/api/#createtooltip

Image

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions