Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Sign up for free
Menu
Search
Features
All features
Private URLs
Password Protection
Custom URLS
Scheduled publishing
Remove Branding
Restrict embedding
Deck Collections
Notes
Features
All features
Private URLs
Password Protection
Custom URLS
Scheduled publishing
Remove Branding
Restrict embedding
Deck Collections
Notes
Explore
Featured decks
Featured speakers
Programming
Technology
Storyboards
Explore
Featured decks
Featured speakers
Programming
Technology
Storyboards
Pricing
Search
Sign in
Sign up for free
Lightweight custom elements
Search
Mathias Eckert
October 24, 2016
Programming
60
0
Share
Embed
Copy iframe code
Copy JS code
Copy link
Start on current slide
Lightweight custom elements
You can find the live example here:
http://codepen.io/meckert/pen/kkVOWJ?editors=1000#0
Mathias Eckert
October 24, 2016
Other Decks in Programming
See All in Programming
作れる、でも消せるか?──安全に「枯らして消す」機能削除術 / Drain, Then Delete
chobishiba
2
630
IBM Bob でAI駆動開発『QC-Playbook』
ichirokano2
0
110
AI主導のプログラミング学習アプリを作ってみた
econanringo
0
180
3回つくってわかった、 定期実行ジョブ基盤の本質情報
takai
0
450
パスワード再設定メールのURLについて知っておこう
uyuki234
0
160
當我們開始不讀 Code - AI Agent 時代,Code Review 與 Clean Code 還剩下什麼?
jame2408
1
190
機械に任せるテスト、人が見るテスト ⽣成AIで引き直した、運⽤保守フェーズの線引き
dske104
0
190
[Rails World 2026] Durable orchestration on Rails: from continuation to workflow
palkan
1
750
ChromeでローカルLLM
ryu1013
0
140
AWSに止められる覚悟してますか?
morizo_1984
2
530
AmebaブログはKMPから卒業します
kmars0605
0
180
JIS keyboard support in Omarchy
lef237
0
110
Featured
See All Featured
Large-scale JavaScript Application Architecture
addyosmani
516
110k
Refactoring Trust on Your Teams (GOTO; Chicago 2020)
rmw
35
3.8k
Designing for humans not robots
tammielis
254
26k
個人開発の失敗を避けるイケてる考え方 / tips for indie hackers
panda_program
123
22k
The agentic SEO stack - context over prompts
schlessera
0
970
The Illustrated Guide to Node.js - THAT Conference 2024
reverentgeek
1
570
Helping Users Find Their Own Way: Creating Modern Search Experiences
danielanewman
31
3.4k
Winning Ecommerce Organic Search in an AI Era - #searchnstuff2025
aleyda
2
2.2k
The Impact of AI in SEO - AI Overviews June 2024 Edition
aleyda
6
1.2k
Design in an AI World
tapps
1
350
Prompt Engineering for Job Search
mfonobong
0
520
How to Build an AI Search Optimization Roadmap - Criteria and Steps to Take #SEOIRL
aleyda
1
2.2k
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