Servoy / webnotifications

MIT License
1 stars 2 forks source link

Access to all options for Toastr #2

Closed SteveHawes closed 7 years ago

SteveHawes commented 7 years ago

Currently I can see no way of showing the progress bar on a timed message. In native toastr this would be done by setting the option progressBar = true.

Can the options argument for the component be extended to allow access to all the toastr native options?

pruhsert commented 7 years ago

You can pass in any option that the base library (toastr,js) supports like e.g.

plugins.webnotificationsToastr.success('message', 'title', {progressBar: true})

So any

toastr.options.xx

should be passed as {xx: y}

pruhsert commented 7 years ago

with 1.0.2 you can also set options globally...

SteveHawes commented 7 years ago

Hi Patrick,

It looks like you need to update the version number in the manifest file. I have installed the latest release but it still thinks I have 1.0.1 and that there is an update available.

Thanks

Steve

Web: www.elysiumwebservices.com

Tel: (+34) 681 25 95 32

From: Patrick Ruhsert notifications@github.com Reply-To: Servoy/webnotifications reply@reply.github.com Date: Friday, 2 December 2016 at 09:00 To: Servoy/webnotifications webnotifications@noreply.github.com Cc: SteveHawes steve@elysiumwebservices.com, Author author@noreply.github.com Subject: Re: [Servoy/webnotifications] Access to all options for Toastr (#2)

with 1.0.2 you can also set options globally...

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub, or mute the thread.

pruhsert commented 7 years ago

done that, thanks