0.1.1 • Published 8 years ago

popeye v0.1.1

Weekly downloads
1
License
ISC
Repository
github
Last release
8 years ago

Popeye

A native react popup component that can be anchored to any element.

Disclaimer

Can only be used on cases wherein you're sure that the popover won't move. i.e. Don't use it on a page that scrolls. Ironically demonstrated by the guide. Still working on an (elegant) fix.

Installation

npm install --save popeye

Basic Usage

<button className="button" onClick={ Popeye.toggleHandler(this, "popover1") }>
  click me
  <Popeye
    opened={ this.state.popover1 } 
    onToggle={ Popeye.toggleHandler(this, "popover1") }>
    <div className="dropdown">
      Aye aye, Captain!
    </div>
  </Popeye>
</button>
0.1.1

8 years ago

0.1.0

8 years ago

0.0.9

9 years ago

0.0.8

9 years ago

0.0.7

9 years ago

0.0.6

9 years ago

0.0.5

9 years ago

0.0.4

9 years ago

0.0.3

9 years ago

0.0.2

9 years ago

0.0.1

9 years ago