Created
August 6, 2020 08:23
-
-
Save yushulx/156dc1ae1a9e6b40eeb73e24890c0c73 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
class MyView1 extends PolymerElement { | |
static get template() { | |
return html` | |
<style include="shared-styles"> | |
:host { | |
display: block; | |
padding: 10px; | |
} | |
</style> | |
<div class="card"> | |
<div id="dwtcontrolContainer"></div> | |
<button on-click="handleClick">scan</button> | |
</div> | |
`; | |
} | |
handleClick() { | |
if (DWObject) { | |
} | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment