Skip to content

mikanda/popout

Repository files navigation

popout

Component to show an element popped out.

Installation

Install with component(1):

$ component install mikanda/popout

Usage

var popout = require('popout');

var div = document.querySelector('#my-element');
var p = popout(div);
...
p.close();

API

Popout(content : DOMElement)

Pop out content.

Popout#close()

Close the popout.

License

MIT

About

Component to show an element popped out.

Resources

Stars

Watchers

Forks

Packages

No packages published