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

Unified Diff: tests/io-toggle.html

Issue 29730644: Issue 6514 - IOToggle Custom Element (Closed)
Patch Set: applied latest required changes Created May 2, 2018, 12:13 p.m.
Use n/p to move between diff chunks; N/P to move between comments.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « tests/io-element.js ('k') | tests/io-toggle.js » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tests/io-toggle.html
===================================================================
new file mode 100644
--- /dev/null
+++ b/tests/io-toggle.html
@@ -0,0 +1,32 @@
+<!DOCTYPE html>
+<html>
+ <head>
+ <meta charset="utf-8">
+ <title>Test io-toggle.js</title>
+ <link rel="stylesheet" href="../skin/common.css">
+ <link rel="stylesheet" href="../skin/fonts.css">
+ <link rel="stylesheet" href="../skin/desktop-options.css">
+ <link rel="stylesheet" href="../skin/io-toggle.css">
+ <style>
+ fieldset
+ {
+ margin: 4px;
+ padding: 8px;
+ border: 1px solid silver;
+ line-height: 0;
+ }
+ </style>
+ <script defer src="../polyfill.js"></script>
+ <script defer src="../ext/common.js"></script>
+ <script defer src="../ext/content.js"></script>
+ <script defer src="../common.js"></script>
+ <script defer src="../i18n.js"></script>
+ <script defer src="./io-toggle.js"></script>
+ </head>
+ <body style="background:white;">
+ <fieldset><io-toggle onchange="console.log(event)"></io-toggle></fieldset>
+ <fieldset><io-toggle checked></io-toggle></fieldset>
+ <fieldset><io-toggle disabled></io-toggle></fieldset>
+ <fieldset><io-toggle checked disabled></io-toggle></fieldset>
+ </body>
+</html>
« no previous file with comments | « tests/io-element.js ('k') | tests/io-toggle.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld