bootstrap-waitingfor icon indicating copy to clipboard operation
bootstrap-waitingfor copied to clipboard

Feature Request: Help method for showing the default options.

Open asiby opened this issue 5 years ago • 2 comments

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

asiby avatar Nov 01 '18 13:11 asiby

Hi, @asiby! Thanks, your pull requests are welcome :)

ehpc avatar Nov 19 '18 10:11 ehpc

Thanks. I will make send them as soon as possible.

On Mon, Nov 19, 2018 at 5:05 AM Eugene Maslovich [email protected] wrote:

Hi, @asiby https://github.com/asiby! Thanks, your pull requests are welcome :)

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/ehpc/bootstrap-waitingfor/issues/36#issuecomment-439838216, or mute the thread https://github.com/notifications/unsubscribe-auth/AAbz-taTCLJZ8g9CObgK6CsZREOCXOEWks5uwoJUgaJpZM4YGZgZ .

asiby avatar Dec 03 '18 13:12 asiby