SlideShare a Scribd company logo
Component of Web Frontend
Component of Web Frontend
‣
‣
‣
‣
‣
‣
‣
?
Component of Web Frontend
‣
‣
‣
‣
‣
‣
!
?
Component of Web Frontend
📱 ☁
Component of Web Frontend
‣
‣
‣
‣
‣
‣
?
"
‣
‣
‣
?
Component of Web Frontend
Component of Web Frontend
‣
‣
‣
‣
‣
‣
‣
"
‣
‣
‣
‣
‣
‣
Component of Web Frontend
Component of Web Frontend
Component of Web Frontend
?
Component of Web Frontend
Component of Web Frontend
‣
‣
‣
‣
‣
‣
Component of Web Frontend
?
Component of Web Frontend
Component of Web Frontend
Component of Web Frontend
‣
‣
‣
‣
‣
‣
Component of Web Frontend
😅
‣
‣
‣
‣
‣
/* style.css */
.className {
color: green;
}
import styles from "./style.css";
element.innerHTML = `<input class="${styles.className}">`;
import jss from 'jss';
const styles = jss.createStyleSheet({
className: {
color: green
}
}).attach();
element.innerHTML = `<input class="${styles.className}">`;
‣
‣
‣
‣
‣
‣
<template>
<style> :host { display: inline-block; } </style>
<input type="checkbox">
</template>
<script>
class SwitchElement extends HTMLElement {
constructor() {
super();
const o = document.currentScript.ownerDocument;
const t = o.querySelector('template');
this.attachShadow({ mode: 'open' });
this.shadowRoot.appendChild(t.content.cloneNode(true));
}
}
customElements.define('switch-element', SwitchElement);
</script>
‣
‣
‣
‣
‣
‣
‣
‣ 👈
‣
‣
‣
‣
‣
‣
‣
‣
‣
‣
‣
‣
‣
‣
‣
‣
‣
‣
‣
‣
‣
‣
‣
‣
‣
Component of Web Frontend
Component of Web Frontend
‣
‣
‣
‣
#
$
%
✨

More Related Content

PDF
React UI Development: Introduction to "UI Component as API"
PDF
ReactとImmutable.jsで関数型を体験してみて思ったこと #scripty06
ODP
AndroidとArduinoで ロボットを作って思ったこと
PDF
Android端末と組み込み機器が連携する Android Make Days
PPTX
PyLadies Tokyo #3: ゼロからはじめたPyData
PDF
C++でCプリプロセッサを作ったり速くしたりしたお話
PDF
初心者のためのWeb標準技術
PPTX
非エンジニアの私でもPythonの勉強会に 参加したらしあわせになれたというお話
React UI Development: Introduction to "UI Component as API"
ReactとImmutable.jsで関数型を体験してみて思ったこと #scripty06
AndroidとArduinoで ロボットを作って思ったこと
Android端末と組み込み機器が連携する Android Make Days
PyLadies Tokyo #3: ゼロからはじめたPyData
C++でCプリプロセッサを作ったり速くしたりしたお話
初心者のためのWeb標準技術
非エンジニアの私でもPythonの勉強会に 参加したらしあわせになれたというお話

Viewers also liked (20)

PDF
約物アキを調整するjQueryプラグインを作ってみた
PDF
Service worker が拓く mobile web の新しいかたち
PDF
Introduction to Resource Hints
PDF
kontainer-js
PPTX
JavaScript : What is it really? AND Some new features in ES6
PDF
150421 es6とかな話
PDF
ES6 はじめました
PPTX
ES6 - JavaCro 2016
PPTX
Getting started with ES6 : Future of javascript
PDF
Prototypeベース in JavaScript
PDF
FileReader and canvas and server silde
PDF
JavaScript 実践講座 Framework, Tool, Performance
PDF
JavaScript.Next Returns
PDF
jQuery勉強会#4
PPT
Google App EngineでTwitterアプリを作ろう
PDF
はじめてのWallaby.js
PDF
ECMAScript 6 Features(PDF 版)
PPTX
Startup JavaScript
PDF
アニメーションの実装つらい話
PPTX
Nds meetup8 lt
約物アキを調整するjQueryプラグインを作ってみた
Service worker が拓く mobile web の新しいかたち
Introduction to Resource Hints
kontainer-js
JavaScript : What is it really? AND Some new features in ES6
150421 es6とかな話
ES6 はじめました
ES6 - JavaCro 2016
Getting started with ES6 : Future of javascript
Prototypeベース in JavaScript
FileReader and canvas and server silde
JavaScript 実践講座 Framework, Tool, Performance
JavaScript.Next Returns
jQuery勉強会#4
Google App EngineでTwitterアプリを作ろう
はじめてのWallaby.js
ECMAScript 6 Features(PDF 版)
Startup JavaScript
アニメーションの実装つらい話
Nds meetup8 lt
Ad

More from Shogo Sensui (15)

PDF
Web Standards Interop 2022
PDF
Introduction to Performance APIs
PDF
Web Standards 2018
PDF
The State of Web Components
PDF
Web フロントエンドの変遷とこれから
PDF
Web Components 2016 & Polymer v2
PDF
これからのJavaScriptの話
PDF
Introduction to Service Worker
PDF
We should optimize images
PDF
Web Components changes Web Development
PDF
Re-think about Web Performance
PDF
Browser Computing Structure
PDF
Brush up your Coding! 2013 winter
PDF
Brush up your Coding!
PDF
Functional JavaScript with Lo-Dash.js
Web Standards Interop 2022
Introduction to Performance APIs
Web Standards 2018
The State of Web Components
Web フロントエンドの変遷とこれから
Web Components 2016 & Polymer v2
これからのJavaScriptの話
Introduction to Service Worker
We should optimize images
Web Components changes Web Development
Re-think about Web Performance
Browser Computing Structure
Brush up your Coding! 2013 winter
Brush up your Coding!
Functional JavaScript with Lo-Dash.js
Ad

Component of Web Frontend