Bringing Back the Blink Tag
summary
Recreates the old blink tag as a reusable web component built with HTML CSS and vanilla JavaScript using ES6 modules, published to NPM; it uses the shadow DOM for isolation, custom elements for markup and slots for injected content, limits blinking to three cycles in the demo, and bundles styles via import. Works in modern Chrome and Firefox, needs a polyfill or transpile for IE, imports cleanly into Angular React and Vue, and requires running on a local server to avoid CORS.
AI-written summary · about
chapters (8)
- 0:00Introduction and joke
- 0:51JavaScript frameworks churn
- 3:19What are web components
- 7:33DOM and shadow DOM
- 11:08Bringing back the blink tag
- 14:21Slots and content projection
- 16:31Browser compatibility
- 18:37Demo and conclusion
related talks
42mI Don’t Need No Stinkin’ Framework - Mastering Shadow DOM
48mBuilding reusable Web components with Angular
39mWeb components - A whirlwind tour
41mAccessibility of Web Components
25mWeb components with Angular: The what, the why and the how.
31mNative Web Components - All Frameworks Invited
33mBuild Web Components with Angular Elements
42mThe Good, The Bad, The Web Components
