diff options
Diffstat (limited to 'examples/open.html')
-rw-r--r-- | examples/open.html | 11 |
1 files changed, 8 insertions, 3 deletions
diff --git a/examples/open.html b/examples/open.html index 964e0d3..6ebf496 100644 --- a/examples/open.html +++ b/examples/open.html | |||
@@ -2,7 +2,7 @@ | |||
2 | <html> | 2 | <html> |
3 | 3 | ||
4 | <head> | 4 | <head> |
5 | <title>open.js - example - rc-time-picker@2.4.1</title> | 5 | <title>open.js - example - rc-time-picker@3.0.0</title> |
6 | <meta name="viewport" | 6 | <meta name="viewport" |
7 | content="width=device-width,initial-scale=1.0,minimum-scale=1.0,maximum-scale=1.0,user-scalable=no"> | 7 | content="width=device-width,initial-scale=1.0,minimum-scale=1.0,maximum-scale=1.0,user-scalable=no"> |
8 | <meta charset="utf-8"/> | 8 | <meta charset="utf-8"/> |
@@ -263,7 +263,7 @@ Monokai Sublime style. Derived from Monokai by noformnocontent http://nn.mit-lic | |||
263 | <body> | 263 | <body> |
264 | <div class="container"> | 264 | <div class="container"> |
265 | <div class="header"> | 265 | <div class="header"> |
266 | <h1>rc-time-picker@2.4.1</h1> | 266 | <h1>rc-time-picker@3.0.0</h1> |
267 | 267 | ||
268 | <p>React TimePicker</p> | 268 | <p>React TimePicker</p> |
269 | </div> | 269 | </div> |
@@ -293,7 +293,12 @@ Monokai Sublime style. Derived from Monokai by noformnocontent http://nn.mit-lic | |||
293 | <span class="hljs-keyword">return</span> ( | 293 | <span class="hljs-keyword">return</span> ( |
294 | <span class="xml"><span class="hljs-tag"><<span class="hljs-title">div</span>></span> | 294 | <span class="xml"><span class="hljs-tag"><<span class="hljs-title">div</span>></span> |
295 | <span class="hljs-tag"><<span class="hljs-title">button</span> <span class="hljs-attribute">onClick</span>=<span class="hljs-value">{this.toggleOpen}</span>></span>Toggle open<span class="hljs-tag"></<span class="hljs-title">button</span>></span> | 295 | <span class="hljs-tag"><<span class="hljs-title">button</span> <span class="hljs-attribute">onClick</span>=<span class="hljs-value">{this.toggleOpen}</span>></span>Toggle open<span class="hljs-tag"></<span class="hljs-title">button</span>></span> |
296 | <span class="hljs-tag"><<span class="hljs-title">TimePicker</span> <span class="hljs-attribute">open</span>=<span class="hljs-value">{this.state.open}</span> <span class="hljs-attribute">onOpen</span>=<span class="hljs-value">{this.setOpen}</span> <span class="hljs-attribute">onClose</span>=<span class="hljs-value">{this.setOpen}</span> /></span> | 296 | <span class="hljs-tag"><<span class="hljs-title">TimePicker</span> |
297 | <span class="hljs-attribute">open</span>=<span class="hljs-value">{this.state.open}</span> | ||
298 | <span class="hljs-attribute">onOpen</span>=<span class="hljs-value">{this.setOpen}</span> | ||
299 | <span class="hljs-attribute">onClose</span>=<span class="hljs-value">{this.setOpen}</span> | ||
300 | <span class="hljs-attribute">focusOnOpen</span> | ||
301 | /></span> | ||
297 | <span class="hljs-tag"></<span class="hljs-title">div</span>></span> | 302 | <span class="hljs-tag"></<span class="hljs-title">div</span>></span> |
298 | )</span>; | 303 | )</span>; |
299 | } | 304 | } |