Closed
Description
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:
<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~~
Metadata
Assignees
Labels
No labels