~/talk

Polymer 2.0: Under the Hood

Talkat Polymer Summit 2016 · 2016-10-17..10-18· [web-platform, javascript]
slides:none on file

Polymer 2.0 claims to shrink the library and “do less” by leaning on native v1 Web Components: Custom Elements, Shadow DOM and HTML imports. It demonstrates migrating a vanilla clock widget into a Polymer element that extends Polymer.Element, stores configuration in a properties block, and stamps a template from a DOM module into shadow DOM. Data binding is implemented via generated property setters, array/object updates use this.set or reassigning the object, and events use dispatchEvent instead of this.fire — result: much less boilerplate and the demo works.

AI-written summary · about

  1. 0:00Start
  2. 7:14Lifecycle Callbacks
  3. 9:39Use the callback to synchronize your attributes and properties
  4. 14:51Dispatch events for any state change
  5. 21:35Configuration
~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.