Skip to content

Allow to override getTooltipContent() function ... #92

Open
@mdmoura

Description

@mdmoura

Hello,

Would be possible to add a way to override the getTooltipContent() function?

Something like:

$('a').powerTip({ 
  content: function ($element, $tooltip) {
    return $element.parent().find('.Html').html();
  }  
}

And also for other current PowerTip functions or futures ones?

I think is really useful when needing custom configurations ...

Thank You,
Miguel

Activity

added this to the 1.4.0 milestone on Jul 31, 2016
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

    FeatureSoftware improvements that involve implementing new features.

    Projects

    No projects

    Relationships

    None yet

      Development

      No branches or pull requests

        Participants

        @stevenbenner@mdmoura

        Issue actions

          Allow to override getTooltipContent() function ... · Issue #92 · stevenbenner/jquery-powertip