Skip to content

When nothing works, there is one solution left. Panic Button!!!!

License

Notifications You must be signed in to change notification settings

qunabu/panic-button

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

20 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

PANIC BUTTON

When nothing works, there is one solution left. Panic Button!!!!

Drag Racing

to install

npm i panic-btn -s

Example

See docs folder

import PanicButton from "panic-btn";

PanicButton.aaaa();

demo

demo

Settings

You can pass some settings in the aaaa method

  settings: {
    sound: 'https://freesound.org/data/previews/348/348310_6165769-lq.mp3', // AAAAA sound
    img: 'https://i.imgur.com/rwNqqt7.gif', // AAAAA gify 
    timeout: 2000, // HOW LONG DOES AAAA LAST on the PAGE
    giphyApiKey: '', // https://developers.giphy.com/ GIPHY API KEY
    giphyQuery: 'panic' // GIPHY API KE query, eg https://giphy.com/search/panic
  },

Example

PanicButton.aaaa({
    sound: 'https://freesound.org/data/previews/348/348310_6165769-lq.mp3',
    img: 'https://i.imgur.com/rwNqqt7.gif', 
    timeout: 5000, 
    giphyApiKey: 'XXXXX',
    giphyQuery: 'wtf' 
});

GIPHY

Once you provide a GIPHY API KEY each time you call aaaa a random gif will be shown, eg demo

About

When nothing works, there is one solution left. Panic Button!!!!

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published