Playing around with Polymer 3

This commit is contained in:
julien Lengrand-Lambert
2017-08-23 09:23:30 +02:00
commit 23c583201d
5 changed files with 138 additions and 0 deletions

11
test-element.js Normal file
View File

@@ -0,0 +1,11 @@
import { Element } from '/node_modules/@polymer/polymer/polymer-element.js';
import '/node_modules/@polymer/paper-button/paper-button.js';
export class TestElement extends Element {
static get template() {
return `
<h1>Hello Polymer 3!</h1>
<paper-button toggles raised>Polymer 3 button test</paper-button>
`;
}
}
customElements.define('test-element', TestElement);