mirror of
https://github.com/material-components/material-web.git
synced 2024-10-28 06:28:12 +03:00
46 lines
1.5 KiB
HTML
46 lines
1.5 KiB
HTML
|
<!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>radio demo</title>
|
||
|
<script src="../node_modules/@webcomponents/webcomponentsjs/webcomponents-lite.js"></script>
|
||
|
<script type="module" src="../node_modules/@material/mwc-radio/mwc-radio.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>
|
||
|
<a href="index.html"><mwc-icon></mwc-icon>
|
||
|
<span>Radio Button</span></a>
|
||
|
</header>
|
||
|
|
||
|
<main>
|
||
|
<mwc-radio id="s.1" name="s"></mwc-radio>
|
||
|
<mwc-radio id="s.2" name="s" checked></mwc-radio>
|
||
|
<mwc-radio id="s.3" name="s"></mwc-radio>
|
||
|
<br>
|
||
|
<mwc-radio id="b.1" name="b"></mwc-radio>
|
||
|
<mwc-radio id="b.2" name="b"></mwc-radio>
|
||
|
<mwc-radio id="b.3" name="b" checked></mwc-radio>
|
||
|
</main>
|
||
|
<script>
|
||
|
addEventListener('load', () => document.body.classList.remove('unresolved'));
|
||
|
</script>
|
||
|
</body>
|
||
|
</html>
|