~/talk

Flip Switch: Live Code Session - Supercharged

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

Live-coding builds a clickable circular “flip switch” using ES2015, Custom Elements (v1) and Shadow DOM inside an HTML import; it flips a front/back face with 3D transforms, adds a ripple, and updates the front value from back-button clicks. The demo emphasizes GPU-friendly transforms/opacity, uses will-change to avoid repaint flashes, computes ripple size with Pythagorean math on resize, notes inert polyfill for accessibility, runs in Chrome and is prototype-only, not production-ready.

AI-written summary · about

  1. 0:00Introduction
  2. 2:13Project setup
  3. 4:21Custom elements structure
  4. 5:46Shadow DOM implementation
  5. 7:44Styling the UI
  6. 11:30Implementing 3D transforms
  7. 13:10Managing 3D perspective
  8. 15:42Adding flip interactivity
  9. 18:57Adding interface buttons
  10. 22:00UI layout and animations
  11. 25:01State management and events
  12. 29:46Implementing ripples
  13. 34:03Handling window resizing
  14. 39:24Adding drop shadows
  15. 48:05Customizing component attributes
  16. 53:18Refining UX and conclusion
~/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.