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
·
SiteGround - Reliable hosting with speed, security, and support you can count on.
→
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
Spinner 軸ズレ現象を調べたらレンダリング深淵に飲まれた #レバテックMeetup
bengo4com
1
230
そのAIレビュー、レビューしてますか? / Are you reviewing those AI reviews?
rkaga
6
4.5k
今から始めるClaude Code超入門
448jp
8
8.5k
Rust 製のコードエディタ “Zed” を使ってみた
nearme_tech
PRO
0
150
インターン生でもAuth0で認証基盤刷新が出来るのか
taku271
0
190
AI Agent の開発と運用を支える Durable Execution #AgentsInProd
izumin5210
7
2.3k
KIKI_MBSD Cybersecurity Challenges 2025
ikema
0
1.3k
Amazon Bedrockを活用したRAGの品質管理パイプライン構築
tosuri13
4
260
Apache Iceberg V3 and migration to V3
tomtanaka
0
150
AIエージェント、”どう作るか”で差は出るか? / AI Agents: Does the "How" Make a Difference?
rkaga
4
2k
AWS re:Invent 2025参加 直前 Seattle-Tacoma Airport(SEA)におけるハードウェア紛失インシデントLT
tetutetu214
2
110
AIエージェントのキホンから学ぶ「エージェンティックコーディング」実践入門
masahiro_nishimi
5
340
Featured
See All Featured
Optimizing for Happiness
mojombo
379
71k
Learning to Love Humans: Emotional Interface Design
aarron
275
41k
Easily Structure & Communicate Ideas using Wireframe
afnizarnur
194
17k
CoffeeScript is Beautiful & I Never Want to Write Plain JavaScript Again
sstephenson
162
16k
Being A Developer After 40
akosma
91
590k
Effective software design: The role of men in debugging patriarchy in IT @ Voxxed Days AMS
baasie
0
220
The Illustrated Children's Guide to Kubernetes
chrisshort
51
51k
B2B Lead Gen: Tactics, Traps & Triumph
marketingsoph
0
53
How GitHub (no longer) Works
holman
316
140k
Everyday Curiosity
cassininazir
0
130
Introduction to Domain-Driven Design and Collaborative software design
baasie
1
580
Building an army of robots
kneath
306
46k
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