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
When using a .component based file, tag strings are being stripped out of the JavaScript within the <view-model> section.
For example a component that appends an h1 tag to an element will end up only appending the contents of the h1, since the tag itself has been removed from the loaded JS. Looking at the loaded JS (/test-parent.component.view-model!eval in the example) you can see the tag is missing.
stache tags are also being stripped out of the rendered content :(
a function in a view model like: buttonHandler() { renderSidePanel('{{close-button}} <my-component>'); }
would render as: buttonHandler() { renderSidePanel(' <my-component>'); }
When using a
.component
based file, tag strings are being stripped out of the JavaScript within the<view-model>
section.For example a component that appends an
h1
tag to an element will end up only appending the contents of theh1
, since the tag itself has been removed from the loaded JS. Looking at the loaded JS (/test-parent.component.view-model!eval
in the example) you can see the tag is missing.see the code at: https://glitch.com/edit/#!/tender-alligator
& the running example at: https://tender-alligator.glitch.me/
The text was updated successfully, but these errors were encountered: