https://github.com/component/popover
Popover component built on top of Tip
https://github.com/component/popover
Last synced: 26 days ago
JSON representation
Popover component built on top of Tip
- Host: GitHub
- URL: https://github.com/component/popover
- Owner: component
- Created: 2012-08-03T00:11:23.000Z (over 13 years ago)
- Default Branch: master
- Last Pushed: 2015-09-14T17:24:53.000Z (over 10 years ago)
- Last Synced: 2025-10-29T17:08:21.022Z (5 months ago)
- Language: HTML
- Size: 222 KB
- Stars: 19
- Watchers: 10
- Forks: 13
- Open Issues: 3
-
Metadata Files:
- Readme: Readme.md
- Changelog: History.md
Awesome Lists containing this project
README
# Popover
Popover component built on top of [Tip](http://github.com/component/tip).

## 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.
```js
var Popover = require('popover');
var popover = new Popover('You have mail!!!', 'Mail');
popover.show('#avatar');
```
View [Tip](http://github.com/component/tip) for additional
API documentation.
## Themes
- [Aurora](https://github.com/component/aurora-popover)
## License
MIT