 Issue 29730644:
  Issue 6514 - IOToggle Custom Element  (Closed)
    
  
    Issue 29730644:
  Issue 6514 - IOToggle Custom Element  (Closed) 
  | Left: | ||
| Right: | 
| OLD | NEW | 
|---|---|
| (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"> | |
| 
saroyanm
2018/04/25 17:05:01
Seems like The toggle buttons are not dependent on
 
a.giammarchi
2018/04/26 10:44:52
it is mandatory to test components UI together wit
 
Thomas Greiner
2018/04/26 17:00:52
Acknowledged.
 
a.giammarchi
2018/04/27 10:59:05
I forgot to answer this Manvel point. The `IOEleme
 | |
| 7 <link rel="stylesheet" href="../skin/fonts.css"> | |
| 8 <link rel="stylesheet" href="../skin/desktop-options.css"> | |
| 9 <style> | |
| 
Thomas Greiner
2018/04/25 17:29:14
I know that it's just a test but I think it'd be b
 
a.giammarchi
2018/04/26 10:44:52
If we make writing tests hard, we'll most likely w
 
Thomas Greiner
2018/04/26 17:00:52
While it sounds reasonable at first glance, I'm no
 
a.giammarchi
2018/04/27 10:59:05
I am not saying tests should not be reviewed, I am
 
Thomas Greiner
2018/05/02 11:53:28
I think we agree on all points and just need to ag
 | |
| 10 fieldset { | |
| 11 margin: 4px; | |
| 12 padding: 8px; | |
| 13 border: 1px solid silver; | |
| 14 line-height: 0; | |
| 15 } | |
| 16 </style> | |
| 17 <script defer src="../polyfill.js"></script> | |
| 18 <script defer src="../ext/common.js"></script> | |
| 19 <script defer src="../ext/content.js"></script> | |
| 20 <script defer src="../common.js"></script> | |
| 21 <script defer src="../i18n.js"></script> | |
| 22 <script defer src="./io-toggle.js"></script> | |
| 23 </head> | |
| 24 <body style="background:white;"> | |
| 25 <fieldset><io-toggle onchange="console.log(event)"></io-toggle></fieldset> | |
| 
saroyanm
2018/04/25 17:05:01
Suggestion: I suggest not include console.logs in
 
a.giammarchi
2018/04/26 10:44:52
fair enough, but please consider my answer to Thom
 | |
| 26 <fieldset><io-toggle checked></io-toggle></fieldset> | |
| 27 <fieldset><io-toggle disabled></io-toggle></fieldset> | |
| 28 <fieldset><io-toggle checked disabled></io-toggle></fieldset> | |
| 29 </body> | |
| 30 </html> | |
| OLD | NEW |