~/talk

DOM it, forgive, forget, embrace

Talkat HTML5.tx Texas 2013 · on Saturday, 2013-02-02· [web-platform, javascript]
slides:none on file

Argues the DOM is far less broken than it used to be and pushes using native APIs instead of reaching for a library for simple tasks. Demonstrations create documents and nodes in memory, inspect document element and text nodes, and show classList and dataset usage, textContent vs text nodes concatenation, and querySelectorAll is static contrasted with live NodeLists like getElementsByTagName. Targets modern browsers (notably IE9+), shows most CSS selectors work natively, and reproduces jQuery-style find/iterate patterns with native methods.

AI-written summary · about

  1. 0:00Start
  2. 3:18Browser Wars
  3. 6:45Modern Dom
  4. 7:03What Is the Dom
  5. 10:47What Type of Node Objects Are We Dealing with
  6. 16:29Create an Html Document
  7. 17:46Properties and Methods of the Document Node
  8. 18:21Active Element
  9. 20:07Element Nodes
  10. 25:25Element Node Attributes
  11. 27:13Data Set
  12. 29:14Text Nodes
  13. 30:33Create Text Nodes
  14. 32:05Text Content
~/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.