A Tippy.js plugin to load remote content.
npm install tippy-remote-plugin
<a href="#" id="remote">My link</a>
import tippy from 'tippy.js'
import remote from 'tippy-remote-plugin'
tippy('#remote', {
plugins: [remote],
remote: '/remote-url.html'
})
Name | Default | Description |
---|---|---|
remote | false |
The URL to get remote content. Possible values: string , false |
<a href="#" data-tippy-remote="/remote-url.html">My link</a>
import tippy from 'tippy.js'
import remote from 'tippy-remote-plugin'
tippy('[data-tippy-remote]', {
plugins: [remote]
})