diff options
Diffstat (limited to 'examples/disabled.html')
-rw-r--r-- | examples/disabled.html | 34 |
1 files changed, 21 insertions, 13 deletions
diff --git a/examples/disabled.html b/examples/disabled.html index 985998f..4ba0c2f 100644 --- a/examples/disabled.html +++ b/examples/disabled.html | |||
@@ -2,7 +2,7 @@ | |||
2 | <html> | 2 | <html> |
3 | 3 | ||
4 | <head> | 4 | <head> |
5 | <title>disabled.js - example - rc-time-picker@2.4.1</title> | 5 | <title>disabled.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> |
@@ -319,17 +319,25 @@ Monokai Sublime style. Derived from Monokai by noformnocontent http://nn.mit-lic | |||
319 | } | 319 | } |
320 | 320 | ||
321 | ReactDom.render( | 321 | ReactDom.render( |
322 | <span class="xml"><span class="hljs-tag"><<span class="hljs-title">TimePicker</span> | 322 | <span class="xml"><span class="hljs-tag"><<span class="hljs-title">div</span>></span> |
323 | <span class="hljs-attribute">showSecond</span>=<span class="hljs-value">{showSecond}</span> | 323 | <span class="hljs-tag"><<span class="hljs-title">h3</span>></span>Disabled picker<span class="hljs-tag"></<span class="hljs-title">h3</span>></span> |
324 | <span class="hljs-attribute">defaultValue</span>=<span class="hljs-value">{now}</span> | 324 | <span class="hljs-tag"><<span class="hljs-title">TimePicker</span> |
325 | <span class="hljs-attribute">className</span>=<span class="hljs-value">"xxx"</span> | 325 | <span class="hljs-attribute">defaultValue</span>=<span class="hljs-value">{now}</span> |
326 | <span class="hljs-attribute">onChange</span>=<span class="hljs-value">{onChange}</span> | 326 | <span class="hljs-attribute">disabled</span> |
327 | <span class="hljs-attribute">disabledHours</span>=<span class="hljs-value">{disabledHours}</span> | 327 | <span class="hljs-attribute">onChange</span>=<span class="hljs-value">{onChange}</span> |
328 | <span class="hljs-attribute">disabledMinutes</span>=<span class="hljs-value">{disabledMinutes}</span> | 328 | /></span> |
329 | <span class="hljs-attribute">disabledSeconds</span>=<span class="hljs-value">{disabledSeconds}</span> | 329 | <span class="hljs-tag"><<span class="hljs-title">h3</span>></span>Disabled options<span class="hljs-tag"></<span class="hljs-title">h3</span>></span> |
330 | /></span>, | 330 | <span class="hljs-tag"><<span class="hljs-title">TimePicker</span> |
331 | document.getElementById('__react-content') | 331 | <span class="hljs-attribute">showSecond</span>=<span class="hljs-value">{showSecond}</span> |
332 | ); | 332 | <span class="hljs-attribute">defaultValue</span>=<span class="hljs-value">{now}</span> |
333 | <span class="hljs-attribute">className</span>=<span class="hljs-value">"xxx"</span> | ||
334 | <span class="hljs-attribute">onChange</span>=<span class="hljs-value">{onChange}</span> | ||
335 | <span class="hljs-attribute">disabledHours</span>=<span class="hljs-value">{disabledHours}</span> | ||
336 | <span class="hljs-attribute">disabledMinutes</span>=<span class="hljs-value">{disabledMinutes}</span> | ||
337 | <span class="hljs-attribute">disabledSeconds</span>=<span class="hljs-value">{disabledSeconds}</span> | ||
338 | /></span> | ||
339 | <span class="hljs-tag"></<span class="hljs-title">div</span>></span> | ||
340 | , document.getElementById('__react-content')); | ||
333 | </span></code></pre></div> | 341 | </span></code></pre></div> |
334 | </div> | 342 | </div> |
335 | <a href="http://github.com/react-component/time-picker"> | 343 | <a href="http://github.com/react-component/time-picker"> |