2018-04-26 05:20:55 +03:00
|
|
|
<!doctype html>
|
|
|
|
<!--
|
|
|
|
@license
|
|
|
|
Copyright 2018 Google Inc. All Rights Reserved.
|
|
|
|
|
|
|
|
Licensed under the Apache License, Version 2.0 (the "License");
|
|
|
|
you may not use this file except in compliance with the License.
|
|
|
|
You may obtain a copy of the License at
|
|
|
|
|
|
|
|
http://www.apache.org/licenses/LICENSE-2.0
|
|
|
|
|
|
|
|
Unless required by applicable law or agreed to in writing, software
|
|
|
|
distributed under the License is distributed on an "AS IS" BASIS,
|
|
|
|
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
|
|
See the License for the specific language governing permissions and
|
|
|
|
limitations under the License.
|
|
|
|
-->
|
|
|
|
<html>
|
|
|
|
<head>
|
|
|
|
<title>switch demo</title>
|
2018-05-07 23:17:46 +03:00
|
|
|
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
2018-09-20 03:35:42 +03:00
|
|
|
<script src="../node_modules/@webcomponents/webcomponentsjs/webcomponents-bundle.js"></script>
|
2018-04-26 05:20:55 +03:00
|
|
|
<script type="module" src="../node_modules/@material/mwc-switch/mwc-switch.js"></script>
|
|
|
|
<script type="module" src="../node_modules/@material/mwc-icon/mwc-icon.js"></script>
|
|
|
|
<link rel="stylesheet" href="demo-component.css">
|
|
|
|
</head>
|
|
|
|
<body class="unresolved">
|
|
|
|
<header>
|
2018-05-07 23:17:46 +03:00
|
|
|
<a href="index.html"><mwc-icon>arrow_back</mwc-icon>
|
2018-04-26 05:20:55 +03:00
|
|
|
<span>Switch</span></a>
|
|
|
|
</header>
|
|
|
|
|
|
|
|
<main>
|
|
|
|
<div class="demo-group">
|
|
|
|
|
|
|
|
<mwc-switch></mwc-switch>
|
|
|
|
<mwc-switch checked></mwc-switch>
|
|
|
|
|
|
|
|
</div>
|
|
|
|
</main>
|
|
|
|
<script>
|
|
|
|
addEventListener('load', () => document.body.classList.remove('unresolved'));
|
|
|
|
</script>
|
|
|
|
</body>
|
|
|
|
</html>
|