Skip to content

Allow setting of arbitrary viewport on initialization #800

Open
@locomo

Description

@locomo

Along the lines of this issue: #758

I'm wondering if it is currently possible (or if not, could it be a possible enhancement) to setup viewport position/dimensions when tooltipster gets initialized?

I understand that we can do this with functionPosition .. but this is fairly complex. It would be nice to just be able to specify either an element or specific dimensions during initialization and then just let tooltipster continue to do the heavy lifting of calculating tooltip position as normal.

My use case is that I need the tooltips to appear in side of a canvas element that is zoomable/draggable within my website layout.

thanks!

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions