Skip to content

Type error: createTooltip modifiers should be optional #1083

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

Activity

  1. changed the title [-]`createTooltip` type error[/-] [+]Type error: `createTooltip` modifiers should be optional[/+] on Jul 7, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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