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
Custom Elements Everywhere
Search
Sponsored
·
Ship Features Fearlessly
Turn features on and off without deploys. Used by thousands of Ruby developers.
→
Larissa Abreu
November 28, 2018
Programming
0
270
Custom Elements Everywhere
Larissa Abreu
November 28, 2018
Tweet
Share
More Decks by Larissa Abreu
See All by Larissa Abreu
Defesa contra as artes das trevas - Github (2020)
larissaabreu
0
300
Sempre teste mas debug se precisar
larissaabreu
2
240
Guia prático para criação de componentes perfeitos
larissaabreu
1
210
JavaScript e o teste filosofal
larissaabreu
0
100
Web Components: fazendo do futuro uma realidade através do JS - Brasília
larissaabreu
0
140
Web Components: fazendo do futuro uma realidade através do JS
larissaabreu
0
91
Componentes nativos: uma chance de mudar o futuro! - ABCDev 2018
larissaabreu
0
120
Dando poder ao seu CSS através de Custom Properties
larissaabreu
0
120
Componentes nativos: uma chance de mudar o futuro!
larissaabreu
0
220
Other Decks in Programming
See All in Programming
OSSとなったswift-buildで Xcodeのビルドを差し替えられるため 自分でXcodeを直せる時代になっている ダイアモンド問題編
yimajo
3
610
MDN Web Docs に日本語翻訳でコントリビュート
ohmori_yusuke
0
650
Oxlint JS plugins
kazupon
1
890
dchart: charts from deck markup
ajstarks
3
990
Fragmented Architectures
denyspoltorak
0
150
Lambda のコードストレージ容量に気をつけましょう
tattwan718
0
120
AtCoder Conference 2025
shindannin
0
1.1k
Honoを使ったリモートMCPサーバでAIツールとの連携を加速させる!
tosuri13
1
180
AgentCoreとHuman in the Loop
har1101
5
230
AIと一緒にレガシーに向き合ってみた
nyafunta9858
0
220
CSC307 Lecture 01
javiergs
PRO
0
690
0→1 フロントエンド開発 Tips🚀 #レバテックMeetup
bengo4com
0
560
Featured
See All Featured
Joys of Absence: A Defence of Solitary Play
codingconduct
1
290
Neural Spatial Audio Processing for Sound Field Analysis and Control
skoyamalab
0
170
A Tale of Four Properties
chriscoyier
162
24k
How GitHub (no longer) Works
holman
316
140k
How to train your dragon (web standard)
notwaldorf
97
6.5k
The Limits of Empathy - UXLibs8
cassininazir
1
210
How STYLIGHT went responsive
nonsquared
100
6k
Between Models and Reality
mayunak
1
180
JAMstack: Web Apps at Ludicrous Speed - All Things Open 2022
reverentgeek
1
330
What the history of the web can teach us about the future of AI
inesmontani
PRO
1
430
Documentation Writing (for coders)
carmenintech
77
5.2k
The Invisible Side of Design
smashingmag
302
51k
Transcript
Custom Elements Everywhere
@TheSweet_Lari Gamer, future Suicide Girl and Front-end Dev Larissa Abreu
@LarissaAbreu larissaabreu.github.io
O que é Semântica?
https://pt.wikipedia.org/wiki/Sem%C3%A2ntica
Semântica no html Pra quê? Para quem? ou melhor…
Desenvolvedores <div> Header </div> <div> Main </div> <div> Footer </div>
<header> Header </header> <main> Main </main> <footer> Footer </footer>
Leitores de tela <button> Abrir </button> <div class="modal"> Conteúdo </div>
<button aria-haspopup="true" aria-expanded=“false" aria-controls="modal"> Abrir </button> <div id="modal" aria-label="Modal"> Conteúdo </div> https://www.w3.org/WAI/standards-guidelines/aria/
Custom Elements Especificação da W3C https://www.w3.org/TR/custom-elements/
class SevenMasters extends HTMLElement { } customElements.define(‘seven-masters', SevenMasters); seven-masters.js //
WAI-ARIA // HTML semântico // conteúdo para SEO
index.html <!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8"> </head> <body>
</body> </html> <seven-masters></seven-masters> <script type="module" src=“seven-masters.js"></script>
None
None
None
youtube.com/new
Custom Elements Everywhere custom-elements-everywhere.com/
Thanks! #UseThePlatform @TheSweet_Lari @LarissaAbreu larissaabreu.github.io