Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Features
Speaker Deck
PRO
Sign in
Sign up for free
Search
Search
Lightweight custom elements
Search
Sponsored
·
Your Podcast. Everywhere. Effortlessly.
Share. Educate. Inspire. Entertain. You do you. We'll handle the rest.
→
Mathias Eckert
October 24, 2016
Programming
0
56
Lightweight custom elements
You can find the live example here:
http://codepen.io/meckert/pen/kkVOWJ?editors=1000#0
Mathias Eckert
October 24, 2016
Tweet
Share
Other Decks in Programming
See All in Programming
Vibe Coding - AI 驅動的軟體開發
mickyp100
0
170
Smart Handoff/Pickup ガイド - Claude Code セッション管理
yukiigarashi
0
130
20260127_試行錯誤の結晶を1冊に。著者が解説 先輩データサイエンティストからの指南書 / author's_commentary_ds_instructions_guide
nash_efp
0
930
CSC307 Lecture 08
javiergs
PRO
0
670
AI & Enginnering
codelynx
0
110
AI によるインシデント初動調査の自動化を行う AI インシデントコマンダーを作った話
azukiazusa1
1
700
CSC307 Lecture 04
javiergs
PRO
0
660
HTTPプロトコル正しく理解していますか? 〜かわいい猫と共に学ぼう。ฅ^•ω•^ฅ ニャ〜
hekuchan
2
680
【卒業研究】会話ログ分析によるユーザーごとの関心に応じた話題提案手法
momok47
0
190
Kotlin Multiplatform Meetup - Compose Multiplatform 외부 의존성 아키텍처 설계부터 운영까지
wisemuji
0
190
Grafana:建立系統全知視角的捷徑
blueswen
0
330
それ、本当に安全? ファイルアップロードで見落としがちなセキュリティリスクと対策
penpeen
7
2.4k
Featured
See All Featured
A Soul's Torment
seathinner
5
2.2k
The Hidden Cost of Media on the Web [PixelPalooza 2025]
tammyeverts
2
180
実際に使うSQLの書き方 徹底解説 / pgcon21j-tutorial
soudai
PRO
196
71k
The Organizational Zoo: Understanding Human Behavior Agility Through Metaphoric Constructive Conversations (based on the works of Arthur Shelley, Ph.D)
kimpetersen
PRO
0
240
Discover your Explorer Soul
emna__ayadi
2
1.1k
技術選定の審美眼(2025年版) / Understanding the Spiral of Technologies 2025 edition
twada
PRO
117
110k
Measuring & Analyzing Core Web Vitals
bluesmoon
9
750
WENDY [Excerpt]
tessaabrams
9
36k
Paper Plane (Part 1)
katiecoart
PRO
0
4k
Intergalactic Javascript Robots from Outer Space
tanoku
273
27k
Thoughts on Productivity
jonyablonski
74
5k
The Myth of the Modular Monolith - Day 2 Keynote - Rails World 2024
eileencodes
26
3.3k
Transcript
@themeckert
None
Custom Elements </>
None
Web Components Templates Shadow DOM HTML imports Custom Elements
<custom-element attribute="value"></custom-element>
<smashing-conf rocks="true"></smashing-conf>
http://giphy.com/gifs/animation-circle-of-life-3o7TKC28zKmmSvfWZq Lifecycle
Lifecycle of Custom Elements Created Attached to DOM Attribute changed
Removed from DOM
Code example (v1 syntax)
Style custom elements
Properties of custom elements - They have a lifecycle -
They can have their own scripted behaviour - They can have their own CSS styling
How do custom elements help us at AutoScout24?
We can provide a library of custom elements to other
developers without them having to write a single line of JavaScript code.
Icons
Icons
Tracking
Ads
Notifications
Ajax
Browser support?
v0
v1
None
document register element https://github.com/WebReflection/document-register-element
document register element - Very small polyfill (~5KB min+gzip) -
Support for IE8, iOS 5.1, Android 2.2
None
custom elements in action
@themeckert