popover-component

Popover component

Popover

Popover component built on top of Tip.

$ npm install popover-component
  • events for composition
  • "auto" positioning
  • fluent API
  • minimal base styling

Create a new popover with content being either a string, html, or element, and optional title which may contain html or be an element as well.

var Popover = require('popover');
var popover = new Popover('You have mail!!!', 'Mail');
popover.show('#avatar');

View Tip for additional API documentation.

MIT