We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
i create a polymer dom like:
<dom-module id="editor-button" > <link rel="import" type="css" href="button.css"> <template> <div class="btn"> <content></content> </div> </template> <script type="text/javascript" src="button.js"></script> </dom-module>
when I append to the HTML dom,like this code:
<div> <editor-button>button</editor-button> <div>
i got this div's innerHTML,the result is:
div
innerHTML
<editor-button class="style-scope ui-kit-preview-button" tabindex="0"> <div class="btn style-scope editor-button"> button </div> </editor-button>
i want to get the innerHTML like:
<editor-button>button</editor-button>
not has been contaminated dom.
what should i do?
thanks~~
The text was updated successfully, but these errors were encountered:
Polymer.dom(node).innerHTML
See https://www.polymer-project.org/1.0/docs/devguide/local-dom.html#dom-api
Sorry, something went wrong.
thanks!
No branches or pull requests
i create a polymer dom like:
when I append to the HTML dom,like this code:
i got this
div
'sinnerHTML
,the result is:i want to get the
innerHTML
like:not has been contaminated dom.
what should i do?
thanks~~
The text was updated successfully, but these errors were encountered: