You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
"You can use your Vue instance vm.$el to get DOM elements via the usual traversal methods, e.g.:
this.$el.children[1].children[2].textContent
This will allow you to access the rendered content of your components, rather than the components themselves."
In my case i have a wysiwyg component, and when i copied the element.textContent i got the html code, insted of the rendered text intented. Does someone have an example of this case working? i need the rendered text to paste it later in whatsapp with the line breaks .
The text was updated successfully, but these errors were encountered:
Hello! , in docs it said
"You can use your Vue instance vm.$el to get DOM elements via the usual traversal methods, e.g.:
this.$el.children[1].children[2].textContent
This will allow you to access the rendered content of your components, rather than the components themselves."
In my case i have a wysiwyg component, and when i copied the element.textContent i got the html code, insted of the rendered text intented. Does someone have an example of this case working? i need the rendered text to paste it later in whatsapp with the line breaks .
The text was updated successfully, but these errors were encountered: