~/talk

Build Web Components with Angular Elements

Talkat NG-MY 2019 · 2019-07-06..07-07· [angular, web-platform]
links:none on file
slides:none on file

Shows how Angular Elements wraps an existing Angular component into a real custom element, demonstrating a hello-name component implemented in ~32 lines, packaged with ng build into an ESM + ES5 pair (es2015 bundle ~132 kB es2015 bundle), and loaded as a plain script into non-Angular apps. Uses shadow DOM with CSS variables to isolate styles, explains attribute/property reflection and lifecycle callbacks, and demos running the element in a Vue playground (works, with a short demo hiccup).

AI-written summary · about

  1. 0:00Start
  2. 2:01Web Components
  3. 5:25Custom Elements
  4. 5:53Html Elements
  5. 7:12Connected Callback
  6. 12:17Demo
  7. 18:49Ng Build
~/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.