- 17 Dec, 2014 1 commit
-
-
Elliott Sprehn authored
The syntax for implementing a SkyElement is now: <sky-element name="element-name"> <template> <!-- template here --> </template> <script> module.exports = class extends SkyElement { attached() { // ... } // .. methods here .. }.register(); </script> </sky-element> The register() static method on SkyElement subclasses calls document.registerElement() and returns the generated constructor. It uses the parent <sky-element>'s name attribute to set the name of the element. R=rafaelw@chromium.org Review URL: https://codereview.chromium.org/788943003
-
- 14 Nov, 2014 1 commit
-
-
Elliott Sprehn authored
Also add a test, this checks nested Shadow DOM and <content> with and without select. R=ojan@chromium.org Review URL: https://codereview.chromium.org/725763003
-
- 13 Nov, 2014 2 commits
-
-
Benjamin Lerman authored
This reverts commit e8fdb90bca3120d1c991256a2adf83a8315bf867. This CL breaks the linux bots: https://chromegw.corp.google.com/i/client.mojo/builders/Mojo%20Linux/builds/216/steps/mojob%20test/logs/stdio TBR=esprehn@chromium.org Review URL: https://codereview.chromium.org/722103002
-
Elliott Sprehn authored
Also add a test, this checks nested Shadow DOM and <content> with and without select. R=abarth@chromium.org Review URL: https://codereview.chromium.org/724613002
-