package
Dialog component
npm install dialog-componentGitHub-flavored package documentation.
Across all versions.
Download trend unavailable.
Runtime metadata.
Tagged topics.
Dialog component with structural styling to give you a clean slate.

Live demo is here
$ npm install dialog-componentshow the dialog is shownhide the dialog is hiddenescape the dialog was closed via the escape keyclose the dialog was closed via the close buttondfcreative
df.creative@gmail.com
tootallnate
nathan@tootallnate.net
rauchg
rauchg@gmail.com
retrofox
rdsuarez@gmail.com
coreh
thecoreh@gmail.com
forbeslindesay
forbes@lindesay.co.uk
kelonye
kelonyemitchel@gmail.com
mattmueller
mattmuelle@gmail.com
yields
yields@icloud.com
anthonyshort
antshort@gmail.com
ianstormtaylor
ian@ianstormtaylor.com
cristiandouce
cristiandouce@gmail.com
swatinem
arpad.borsos@googlemail.com
stagas
gstagas@gmail.com
amasad
amjad.masad@gmail.com
juliangruber
julian@juliangruber.com
calvinfo
calvin@calv.info
blakeembrey
hello@blakeembrey.com
timoxley
secoif@gmail.com
jonathanong
jonathanrichardong@gmail.com
queckezz
fabian.eichenberger@gmail.com
nami-doc
vendethiel@hotmail.fr
clintwood
clint@anotherway.co.za
thehydroimpulse
dnfagnan@gmail.com
stephenmathieson
me@stephenmathieson.com
trevorgerhardt
trevorgerhardt@gmail.com
timaschew
timaschew@gmail.com
hughsk
hughskennedy@gmail.com
tjholowaychuk
tj@vision-media.ca
Display a dialog with a msg only.
Display a dialog with title and msg.
Make the dialog closable, this adds a × that users make click to forcefully close the dialog.
Assign the effect name, driven by CSS transitions. Out of the box the following are available:
slidefadescaleAdd a clickable overlay, which closes the dialog.
Add a non-clickable overlay making it modal.
Dialogs are centered by default. If you'd rather use CSS to position the dialog make it fixed;
no per element CSS properties are added to such dialogs.
This is private as it is implied by other options. If no overlay is used, or the overlay is non-modal then a user may close the dialog by pressing the escape key.
Show the dialog.
Hide the dialog immediately or wait ms.
Add class name, useful for styling dialogs differently.
MIT
Install component-test globally in order to run unit tests:
sudo npm install -g component-test2Estimated unpacked size across 19 packages.
5.5 MB
Includes dependencies.
7 direct · 4 outdated
^1.1.1
3.0.0
^3.1.0
5.2.0
^0.1.0
0.2.1
^0.0.3
0.0.3
^1.1.3
1.2.6
^1.1.1
2.0.0
^0.3.0
0.3.5