First of all, thanks for this great tool. It's very easy to use and adds so much to websites.
Feature 1
I am about to add something to this library that will make it easy to have access to some basic documentation.
It's a help method that people can just call at the console using waitingDialog.help(). This will write in the console a least the structure of the options object that can be passed to the code.
Feature 2
An init function that can be called once after loading the library for setting default options. That way, there will be no need to pass the options every time we are calling the show() method unless we need to temporarily override the default.
What do you guys think? Is it something you could accept as a pull request?
Thanks
First of all, thanks for this great tool. It's very easy to use and adds so much to websites.
Feature 1
I am about to add something to this library that will make it easy to have access to some basic documentation.
It's a help method that people can just call at the console using
waitingDialog.help(). This will write in the console a least the structure of the options object that can be passed to the code.Feature 2
An init function that can be called once after loading the library for setting default options. That way, there will be no need to pass the options every time we are calling the show() method unless we need to temporarily override the default.
What do you guys think? Is it something you could accept as a pull request?
Thanks