Skip to content

add wrapper option #12

@matallo

Description

@matallo

it would be useful adding a wrapper or parent option so you can always set the parent where to add the tooltip, instead of fixing it to the body. This is an example of how that code would look like:

var $wrapper = options.wrapper || $('body')

$wrapper.append('<div class = "margintooltip" style = "display:none;"></div>')

Congrats for the snippet, and spurring such inspiration.

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