Issue with appending container to body
See original GitHub issueI think that there is some problem with commit 3cb3cbb098d4b4b545a23646ce2533c816f27ac5 (merged 3 days ago which in case of issue #115 ). This is due to the following error which occures in console when vue-toasted
should be append to body.
Image with content of error in console:
It makes following syntax not working:
this.$toasted...
This syntax is still working:
Vue.toasted...
Issue Analytics
- State:
- Created 4 years ago
- Comments:7 (2 by maintainers)
Top Results From Across the Web
Create a temporary container and append all body content to ...
What I am attempting to do with JavaScript (no libraries) is to create a fragment append all the content of the body into...
Read more >Bug: pac-container append to body [35827219] - Issue Tracker
In other words, the pac-container is appended to BODY, if there was an option to attach pac-container to modal's DIV, this issue would...
Read more >.append() | jQuery API Documentation
A function that returns an HTML string, DOM element(s), text node(s), or jQuery object to insert at the end of each element in...
Read more >Using the body Element as a Top Level Container - Is it Safe ...
Why is a wrapper div used? Historically there have been a number of issues with using the body element as a top level...
Read more >Node.appendChild() - Web APIs - MDN Web Docs
appendChild() returns the newly appended node, or if the child is a ... and append it to the end of the document body...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Add Toasted after the document is initialized. I have a simple Ready function like this:
/**
And I load Toasted this way: Ready.go(() => { // Toasted tries to add to the document body when it is initialized, // so it has be be loaded after the document is ready. Vue.use(Toasted); }
make sure
body
element is available in the dom.