tippy-remote-plugin

0.8.0 • Public • Published

tippy-remote-plugin

A Tippy.js plugin to load remote content.

Install

npm install tippy-remote-plugin

Usage

With options

<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'
})

Options

Name Default Description
remote false The URL to get remote content. Possible values: string, false

With data attributes

<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]
})

Package Sidebar

Install

npm i tippy-remote-plugin

Weekly Downloads

1

Version

0.8.0

License

MIT

Unpacked Size

3.92 kB

Total Files

4

Last publish

Collaborators

  • ocarreterom