Chromium Code Reviews| Index: ui/webui/resources/cr_elements/cr_input/demo.html |
| diff --git a/ui/webui/resources/cr_elements/cr_input/demo.html b/ui/webui/resources/cr_elements/cr_input/demo.html |
| new file mode 100644 |
| index 0000000000000000000000000000000000000000..541bcc2085221f5cc47cf58f667f924b96ac9d02 |
| --- /dev/null |
| +++ b/ui/webui/resources/cr_elements/cr_input/demo.html |
| @@ -0,0 +1,12 @@ |
| +<!doctype html> |
| +<html> |
| +<head> |
| + <link href="cr_input.html" rel="import"> |
| +</head> |
| +<body unresolved> |
| + <cr-input label="Blah"></cr-input> |
| + <cr-input label="This is required" required error="Put something here!"></cr-input> |
| + <cr-input label="Only numbers" pattern="^[0-9]*$" error="Only numbers allowed!"></cr-input> |
|
Dan Beam
2015/02/20 23:45:47
not an import
Jeremy Klein
2015/02/20 23:59:21
OK, you got me here lol. Done.
|
| + <cr-input label="Password" type="password"></cr-input> |
| +</body> |
| +</html> |