FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

Setting toast id? · Issue #30 · Script47/Toast · GitHub

/ Toast Public

Setting toast id? #30

Description

In my app I am creating toasts that show the progress of a task rendering on my server.

I am using $('#toast-'+t).toast('hide'); to later kill the toast once the render is complete and then display a success toast.

For longer running processes, the 'total running count' resets and so I am not always able to hide the right toast.

Is there a way I can set the id of the toast in my js call? Perhaps like this?

$.toast({ id : jobID, type: 'info', title: title, subtitle: n ....

Loving this so much.
Thanks

Metadata

Metadata

Assignees

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions


Back | FazBrowse Home | New Git URL