This package has been deprecated

Author message:

The HAIB waiting dialog is no longer supported

haib-waiting-dialog

1.0.8 • Public • Published

Waiting Dialog

A modal dialog to be used while a web application is processing.

Example usage:

var WaitingDialog = require("haib-waiting-dialog");
 
WaitingDialog.show({
    title: "HAIB",
    message: "Loading...",
    delayInMilliseconds: 500
});
 
// After processing is complete
WaitingDialog.hide();

WaitingDialog.show(options)

Shows the waiting dialog

options.title - text in the header of the waiting dialog

options.message - text in the body of the waiting dialog

options.delayInMilliseconds - length of time to wait before showing the waiting dialog; calling WaitingDialog.hide() before the delay interval is met will cancel the showing of the dialog

options.requestList - array of requests to reject/abort if 'Cancel' is clicked; if this array is empty, the 'Cancel' button will be disabled

WaitingDialog.hide()

Hides/cancels the waiting dialog

Readme

Keywords

none

Package Sidebar

Install

npm i haib-waiting-dialog

Weekly Downloads

0

Version

1.0.8

License

ISC

Last publish

Collaborators

  • jkelly-haib