popover-component

    1.1.1 • Public • Published

    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

    Install

    npm i popover-component

    DownloadsWeekly Downloads

    1

    Version

    1.1.1

    License

    none

    Last publish

    Collaborators

    • pirxpilot
    • defunctzombie
    • dfcreative
    • tjholowaychuk
    • jongleberry
    • dominicbarnes
    • tootallnate
    • rauchg
    • retrofox
    • coreh
    • forbeslindesay
    • kelonye
    • mattmueller
    • yields
    • anthonyshort
    • ianstormtaylor
    • cristiandouce
    • swatinem
    • stagas
    • amasad
    • juliangruber
    • calvinfo
    • blakeembrey
    • timoxley
    • jonathanong
    • queckezz
    • nami-doc
    • clintwood
    • thehydroimpulse
    • stephenmathieson
    • trevorgerhardt
    • timaschew
    • hughsk