question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Better ReadME for Advanced Custom Toast Registration

See original GitHub issue

The readme says you can pass a message to a globally registered toast like this: this.$toasted.global.my_app_error({ message : 'Not Authorized to Access' }); But it does not work.

Issue Analytics

  • State:closed
  • Created 5 years ago
  • Comments:7 (1 by maintainers)

github_iconTop GitHub Comments

1reaction
XanderLucianocommented, Aug 25, 2018

I can see that, would it make more sense to show the registration first and then show how you pass the object?

I’ll admit that unless you’re really familiar with javascript it isn’t immediately clear that the object is passed to the function you register. I was a little confused at first as well after looking at your example I can see why it’s confusing. I’m not sure what the best way to simplify this is though.

Any suggestions?

0reactions
FiretronP75commented, Aug 28, 2018

I will comment in the new issue.

Read more comments on GitHub >

github_iconTop Results From Across the Web

vue-toasted/README.md at master - GitHub
Custom Toast Registration ... You can register your own toasts like below and it will be available all over the application. Toasted.register methods...
Read more >
Deploy Service Announcement Toasts in Windows 10 with ...
The Toast, in our late example, will display a header image, known as a Hero Image, a Badge Image, some custom titles and...
Read more >
Best Practices - ReadMe Documentation
To help you jumpstart your ReadMe project, we've put together some best practices for building and maintaining a top-notch developer hub.
Read more >
Advanced Orchestration Concepts - Salesforce Help
After you understand the basics, you're ready for a closer look at the context in which orchestrations run and how they perform work...
Read more >
Version History - Advanced Installer
Advanced Installer Extension for Visual Studio 2022 (Preview); Custom Action for ... New registry entries for latest install path and version of "Advanced...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found