Popover component built on top of Tip
HTML JavaScript Makefile
Latest commit 8fc4a9b Sep 15, 2015 @pirxpilot pirxpilot Release 1.1.1
Permalink
Failed to load latest commit information.
test
.gitignore
.npmignore
History.md
Makefile
Readme.md
component.json
index.js
package.json
template.html
template.js

Readme.md

Popover

Popover component built on top of Tip.

js popover component

Installation

$ npm install popover-component

Features

  • events for composition
  • "auto" positioning
  • fluent API
  • minimal base styling

API

new Popover(content, [title])

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.

Themes

License

MIT