wintercounter / Protip

A new generation jQuery Tooltip plugin
http://protip.rocks
MIT License
359 stars 38 forks source link

Configuration 'defaults:' example #35

Closed BikerMikeR closed 5 years ago

BikerMikeR commented 5 years ago

Couldn't figure out how to include data-pt-* values in the 'defaults:' section during intitialization: /* @type Object Default data-pt- values for a tooltip */ defaults: {...} Could you please add an example? Thanks in advance!

wintercounter commented 5 years ago

Simply without the data-pt part:

defaults: {
    gravity: 'left'
}

On Sat, Nov 17, 2018, 02:25 BikerMikeR <notifications@github.com wrote:

Couldn't figure out how to include data-pt-* values in the 'defaults:' section during intitialization: /* @type https://github.com/type Object Default data-pt- values for a tooltip */ defaults: {...} Could you please add an example? Thanks in advance!

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/wintercounter/Protip/issues/35, or mute the thread https://github.com/notifications/unsubscribe-auth/AA60wG9aRGO-nqtz-4lFXJr9BytutiIBks5uvvTtgaJpZM4Ymqd_ .