bs-async-popup

0.1.1 • Public • Published

Async Popup

A simple module to open pop ups in ReasonML

Installation

yarn add bs-async-popup

Then, add it to your bsconfig.json

"bs-dependencies": [
  "bs-async-popup"
]

Usage

  let window = AsyncPopup.start("waiting message"); // Create the popup with a waiting message

  // Do some async stuff...

  AsyncPopup.setLocation(window, someUrl); // When the async stuff is done, set the new url for the window

Package Sidebar

Install

npm i bs-async-popup

Weekly Downloads

2

Version

0.1.1

License

MIT

Unpacked Size

1.62 kB

Total Files

4

Last publish

Collaborators

  • jeffersoncarvalh0