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
Meguro.esのWeb Components(勝手に) 作ってみた #meguroes
Search
tiwu
April 04, 2019
Technology
220
0
Share
Embed
Copy iframe code
Copy JS code
Copy link
Start on current slide
Meguro.esの Web Components(勝手に) 作ってみた #meguroes
Meguro.esのWeb Components(勝手に) 作ってみた #meguroes
tiwu
April 04, 2019
More Decks by tiwu
See All by tiwu
Eleventy で SSG
tiwu_dev
2
710
Eleventy - 11ty
tiwu_dev
0
140
Install for PWA
tiwu_dev
0
1.6k
App Shortcuts
tiwu_dev
0
940
Web Vitals
tiwu_dev
0
83
Web Share API
tiwu_dev
0
1.6k
Badge in Background
tiwu_dev
0
100
PWAとCache API #frontkansai
tiwu_dev
5
2.4k
Web Componentsとlit-element #frontkansai
tiwu_dev
2
1.7k
Other Decks in Technology
See All in Technology
速さだけじゃない! VoidZero ツールが移行先に選ばれる理由
mizdra
PRO
6
750
関西に縁あるMicrosoft MVPsが語るCopilotの未来
kasada
0
1.2k
BigQuery の Cross-cloud Lakehouse への歩み
phaya72
2
550
Agentic ERPをどう設計するか ー 受発注エージェントを動かす、現場の知見と設計思想ー
recerqainc
1
1.5k
Platform Engineering as a Product: Criteria for Improvement and Multi-Tenant Design
kumorn5s
0
500
探して_入れて_作って_使う_Agent_Skills___LT.pdf
peintangos
2
160
【5分でわかる】セーフィー エンジニア向け会社紹介
safie_recruit
0
50k
Oracle AI Database@Google Cloud:サービス概要のご紹介
oracle4engineer
PRO
6
1.5k
はじめてのDatadog
kairim0
0
280
Oracle AI Database@AWS:サービス概要のご紹介
oracle4engineer
PRO
4
2.8k
AI と創る新たな世界 / A New World Created with AI
ks91
PRO
0
110
MIERUNE JCT 発表資料「宇宙から伊能忠敬ごっこ」
syuchimu
0
180
Featured
See All Featured
Faster Mobile Websites
deanohume
310
31k
How to Talk to Developers About Accessibility
jct
2
220
コードの90%をAIが書く世界で何が待っているのか / What awaits us in a world where 90% of the code is written by AI
rkaga
61
44k
Groundhog Day: Seeking Process in Gaming for Health
codingconduct
0
200
Abbi's Birthday
coloredviolet
2
7.9k
Leveraging LLMs for student feedback in introductory data science courses - posit::conf(2025)
minecr
1
280
For a Future-Friendly Web
brad_frost
183
10k
The SEO Collaboration Effect
kristinabergwall1
1
480
Public Speaking Without Barfing On Your Shoes - THAT 2023
reverentgeek
1
410
Conquering PDFs: document understanding beyond plain text
inesmontani
PRO
4
2.8k
CoffeeScript is Beautiful & I Never Want to Write Plain JavaScript Again
sstephenson
162
16k
Chrome DevTools: State of the Union 2024 - Debugging React & Beyond
addyosmani
10
1.2k
Transcript
Meguro.esの Web Components(勝手に) 作ってみた Wataru Taguchi
アジェンダ • 自己紹介 • 作ったぞい • まとめ
自己紹介 # Wataru Taguchi - GameWith Front End Engineer -
PWAとかパフォーマンスチューニングが好き - @tiwu_official - FF14, Beer, Kyoto Animation
みなさん!
Meguro.esが好きですか!
Meguro.esのロゴを 自分のサイトに 表示させたいですよね!
Meguro.esのイベント情報 を自分のサイトに 表示させたいですよね!
それWeb Components でできるよ
<meguro-es-logo> <meguro-es-connpass-list>
https://informal-meguro-es-we b-components.netlify.com/
使い方
<script type="module" src="./src/js/meguroEsConnpassList.js"> </script>
<meguro-es-connpass-list> </meguro-es-connpass-list>
かんたん!!!!
https://github.com/tiwuofficial/i nformal-meguro-es-web-comp onents
Web Components? • カスタム要素 • Shadow DOM • HTML テンプレート
カスタム要素
Shadow DOM
• constructorとconnectedCallbackの違いに気づく のが遅かった • conpassのAPIがJSONPだった つらみ
Web Componentsは いいぞ