diff options
author | Ruben Rodriguez <ruben@gnu.org> | 2018-09-13 20:39:48 -0400 |
---|---|---|
committer | Ruben Rodriguez <ruben@gnu.org> | 2018-09-13 21:02:13 -0400 |
commit | d26b319fd6f98517cc3421f10bf18698b953e4d2 (patch) | |
tree | bc70c4e472a2eaf514d411dba5067d530e5bbea9 /data/extensions/jid1-KtlZuoiikVfFew@jetpack/node_modules/pathfinder/docs/panic.md | |
parent | c3b304c51a3386ea09527a479a883253ea35243a (diff) | |
download | gnuzilla-d26b319fd6f98517cc3421f10bf18698b953e4d2.tar.gz |
Updated extensions list for v60
Diffstat (limited to 'data/extensions/jid1-KtlZuoiikVfFew@jetpack/node_modules/pathfinder/docs/panic.md')
-rw-r--r-- | data/extensions/jid1-KtlZuoiikVfFew@jetpack/node_modules/pathfinder/docs/panic.md | 45 |
1 files changed, 0 insertions, 45 deletions
diff --git a/data/extensions/jid1-KtlZuoiikVfFew@jetpack/node_modules/pathfinder/docs/panic.md b/data/extensions/jid1-KtlZuoiikVfFew@jetpack/node_modules/pathfinder/docs/panic.md deleted file mode 100644 index 3155341..0000000 --- a/data/extensions/jid1-KtlZuoiikVfFew@jetpack/node_modules/pathfinder/docs/panic.md +++ /dev/null @@ -1,45 +0,0 @@ -<!-- contributed by Erik Vold [erikvvold@gmail.com] --> - -The `panic` API provides a simple way to create a panic, which -can be used to anything that is desired in a panic situation, like entering -private browsing mode, closing/replacing/hiding tabs, or anything else you -can imagine. - -## Example ## - - // create a panic that lasts 5 mins - require('panic').panic(5*60*1000); - -<api name="inPanic"> -@property {boolean} - This read-only boolean is true if there is a panic going on. -</api> - -<api name="panic"> -@function - Starts a panic. -@param milliseconds {Number} - Optional number of milliseconds that the panic should last for, this would - be useful if you want ensure that certain things are but on hold until the - panic subsides. -</api> - -<api name="start"> -@event -Emitted immediately after a panic begins - - var panic = require('panic'); - panic.on("start", function() { - // Do something when a panic starts - }); -</api> - -<api name="end"> -@event -Emitted immediately after the panic ends - - var panic = require('panic'); - panic.on("start", function() { - // Do something when a panic ends - }); -</api> |