Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code

Side by Side Diff: tests/io-toggle.html

Issue 29730644: Issue 6514 - IOToggle Custom Element (Closed)
Patch Set: applied changes Created April 27, 2018, 1:56 p.m.
Left:
Right:
Use n/p to move between diff chunks; N/P to move between comments.
Jump to:
View unified diff | Download patch
OLDNEW
(Empty)
1 <!DOCTYPE html>
2 <html>
3 <head>
4 <meta charset="utf-8">
5 <title>Test io-toggle.js</title>
6 <link rel="stylesheet" href="../skin/common.css">
7 <link rel="stylesheet" href="../skin/fonts.css">
8 <link rel="stylesheet" href="../skin/desktop-options.css">
9 <link rel="stylesheet" href="../skin/io-toggle.css">
10 <style>
11 fieldset
12 {
13 margin: 4px;
14 padding: 8px;
15 border: 1px solid silver;
16 line-height: 0;
17 }
18 </style>
19 <script defer src="../polyfill.js"></script>
20 <script defer src="../ext/common.js"></script>
21 <script defer src="../ext/content.js"></script>
22 <script defer src="../common.js"></script>
23 <script defer src="../i18n.js"></script>
24 <script defer src="./io-toggle.js"></script>
25 </head>
26 <body style="background:white;">
27 <fieldset><io-toggle onchange="console.log(event)"></io-toggle></fieldset>
28 <fieldset><io-toggle checked></io-toggle></fieldset>
29 <fieldset><io-toggle disabled></io-toggle></fieldset>
30 <fieldset><io-toggle checked disabled></io-toggle></fieldset>
31 </body>
32 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld