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
Custom Elements Everywhere
Search
Sponsored
·
Your Podcast. Everywhere. Effortlessly.
Share. Educate. Inspire. Entertain. You do you. We'll handle the rest.
→
Larissa Abreu
November 28, 2018
Programming
300
0
Share
Embed
Copy iframe code
Copy JS code
Copy link
Start on current slide
Custom Elements Everywhere
Larissa Abreu
November 28, 2018
Transcript
16 slides
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
More Decks by Larissa Abreu
See All by Larissa Abreu
Defesa contra as artes das trevas - Github (2020)
larissaabreu
0
330
Sempre teste mas debug se precisar
larissaabreu
2
270
Guia prático para criação de componentes perfeitos
larissaabreu
1
240
JavaScript e o teste filosofal
larissaabreu
0
130
Web Components: fazendo do futuro uma realidade através do JS - Brasília
larissaabreu
0
160
Web Components: fazendo do futuro uma realidade através do JS
larissaabreu
0
120
Componentes nativos: uma chance de mudar o futuro! - ABCDev 2018
larissaabreu
0
150
Dando poder ao seu CSS através de Custom Properties
larissaabreu
0
150
Componentes nativos: uma chance de mudar o futuro!
larissaabreu
0
240
Other Decks in Programming
See All in Programming
Vapor Mode でアクセシビリティは 壊れないか検証した話
fuqda
1
350
どうしても Eloquent でリポジトリパターンをやりたいんだ #phpcon_niigata / phpcon-niigata-2026
shogogg
0
620
Spec-driven Development with AI
simas
PRO
0
2.3k
LLM 101: Exploring LLMs, Starting with Tokens.
dalinaum
0
110
そのデザイントークン、Flutterでも同じ見た目になりますか?
nakamizu
0
430
自作Discord音声botをLambda MicroVMsに移行した話 / Migrating My Discord Voice Bot to Lambda MicroVMs
akihisaikeda
1
380
Proxmox x Talos Linux x Terraform で実現するなんかいい感じの Kubernetes クラスタ / A Sleek Kubernetes Cluster Powered by Proxmox, Talos Linux, and Terraform
nnaka2992
0
260
LLM 101
dalinaum
0
510
GraphQL の onError と Nullability のこれから
quramy
0
220
社内AIエージェント「Askワンバン」における コストチューニングの取り組み
t0yohei
0
170
Kawaiicon: Kubernetes, it's no longer cool, but let's secure it anyway!
barnbarn
0
140
クラウドゲーミングのパフォーマンス最適化に挑む / Cloud Gaming Performance Tuning
vivion
0
360
Featured
See All Featured
Stewardship and Sustainability of Urban and Community Forests
pwiseman
0
600
Design in an AI World
tapps
1
390
Leading Effective Engineering Teams in the AI Era
addyosmani
9
2.9k
brightonSEO & MeasureFest 2025 - Winning Strategies for Black Friday CRO & PPC - Christian Goodrich
cargoodrich
3
900
Improving Core Web Vitals using Speculation Rules API
sergeychernyshev
21
1.7k
Evolution of real-time – Irina Nazarova, EuRuKo, 2024
irinanazarova
9
1.7k
4 Signs Your Business is Dying
shpigford
187
23k
Lessons Learnt from Crawling 1000+ Websites
charlesmeaden
PRO
1
1.8k
Optimizing for Happiness
mojombo
378
72k
Automating Front-end Workflow
addyosmani
1370
210k
Ten Tips & Tricks for a 🌱 transition
stuffmc
1
290
Why Our Code Smells
bkeepers
PRO
340
58k