aboutsummaryrefslogtreecommitdiffhomepage
path: root/index.html
diff options
context:
space:
mode:
Diffstat (limited to 'index.html')
-rw-r--r--index.html49
1 files changed, 24 insertions, 25 deletions
diff --git a/index.html b/index.html
index b633813..b6e7811 100644
--- a/index.html
+++ b/index.html
@@ -7,7 +7,7 @@
7 <meta charset="utf-8"/> 7 <meta charset="utf-8"/>
8 <meta http-equiv="X-UA-Compatible" content="IE=edge"> 8 <meta http-equiv="X-UA-Compatible" content="IE=edge">
9 <link href="//cdnjs.cloudflare.com/ajax/libs/normalize/3.0.3/normalize.css" rel="stylesheet"/> 9 <link href="//cdnjs.cloudflare.com/ajax/libs/normalize/3.0.3/normalize.css" rel="stylesheet"/>
10 <title>rc-time-picker@1.0.0-alpha1 - React TimePicker</title> 10 <title>rc-time-picker@0.7.2 - React TimePicker</title>
11 <style> 11 <style>
12 @font-face { 12 @font-face {
13 font-family: octicons-anchor; 13 font-family: octicons-anchor;
@@ -737,7 +737,7 @@
737 737
738<body> 738<body>
739<div class="header"> 739<div class="header">
740 <h1>rc-time-picker@1.0.0-alpha1</h1> 740 <h1>rc-time-picker@0.7.2</h1>
741</div> 741</div>
742<div class="examples"> 742<div class="examples">
743 <h3>EXAMPLES</h3> 743 <h3>EXAMPLES</h3>
@@ -753,9 +753,9 @@
753 <h3>README.md</h3> 753 <h3>README.md</h3>
754 <div class="markdown-body"> 754 <div class="markdown-body">
755 <h1>TimePicker<a id="user-content-timepicker" name="timepicker" class="anchor" aria-hidden="true" href="#timepicker"><span class="octicon octicon-link"></span></a></h1><p>React TimePicker</p> 755 <h1>TimePicker<a id="user-content-timepicker" name="timepicker" class="anchor" aria-hidden="true" href="#timepicker"><span class="octicon octicon-link"></span></a></h1><p>React TimePicker</p>
756<h2>install<a id="user-content-install" name="install" class="anchor" aria-hidden="true" href="#install"><span class="octicon octicon-link"></span></a></h2><div class="highlight"><pre><code language="undefined">npm install rc-time-picker</code></pre></div><h2>Usage<a id="user-content-usage" name="usage" class="anchor" aria-hidden="true" href="#usage"><span class="octicon octicon-link"></span></a></h2><div class="highlight"><pre><code language="js">import TimePicker from <span class="hljs-string">'rc-time-picker'</span>; 756<h2>install<a id="user-content-install" name="install" class="anchor" aria-hidden="true" href="#install"><span class="octicon octicon-link"></span></a></h2><div class="highlight"><pre><code language="undefined">npm install rc-time-picker</code></pre></div><h2>Usage<a id="user-content-usage" name="usage" class="anchor" aria-hidden="true" href="#usage"><span class="octicon octicon-link"></span></a></h2><div class="highlight"><pre><code language="js"><span class="hljs-keyword">import</span> TimePicker <span class="hljs-keyword">from</span> <span class="hljs-string">'rc-time-picker'</span>;
757import React from <span class="hljs-string">'react'</span>; 757<span class="hljs-keyword">import</span> React <span class="hljs-keyword">from</span> <span class="hljs-string">'react'</span>;
758import ReactDOM from <span class="hljs-string">'react-dom'</span>; 758<span class="hljs-keyword">import</span> ReactDOM <span class="hljs-keyword">from</span> <span class="hljs-string">'react-dom'</span>;
759ReactDOM.render(<span class="xml"><span class="hljs-tag">&lt;<span class="hljs-title">TimePicker</span> /&gt;</span>, container);</span></code></pre></div><h2>API<a id="user-content-api" name="api" class="anchor" aria-hidden="true" href="#api"><span class="octicon octicon-link"></span></a></h2><h3>TimePicker<a id="user-content-timepicker" name="timepicker" class="anchor" aria-hidden="true" href="#timepicker"><span class="octicon octicon-link"></span></a></h3><table> 759ReactDOM.render(<span class="xml"><span class="hljs-tag">&lt;<span class="hljs-title">TimePicker</span> /&gt;</span>, container);</span></code></pre></div><h2>API<a id="user-content-api" name="api" class="anchor" aria-hidden="true" href="#api"><span class="octicon octicon-link"></span></a></h2><h3>TimePicker<a id="user-content-timepicker" name="timepicker" class="anchor" aria-hidden="true" href="#timepicker"><span class="octicon octicon-link"></span></a></h3><table>
760<thead> 760<thead>
761<tr> 761<tr>
@@ -803,34 +803,15 @@ ReactDOM.render(<span class="xml"><span class="hljs-tag">&lt;<span class="hljs-t
803<td>current value</td> 803<td>current value</td>
804</tr> 804</tr>
805<tr> 805<tr>
806<td>gregorianCalendarLocale</td>
807<td>GregorianCalendar locale object</td>
808<td>null</td>
809<td>if value and defaultValue not set, you should set this to your locale</td>
810</tr>
811<tr>
812<td>placeholder</td> 806<td>placeholder</td>
813<td>String</td> 807<td>String</td>
814<td>&#39;&#39;</td> 808<td>&#39;&#39;</td>
815<td>time input&#39;s placeholder</td> 809<td>time input&#39;s placeholder</td>
816</tr> 810</tr>
817<tr> 811<tr>
818<td>showHour</td>
819<td>Boolean</td>
820<td>whether show hour</td>
821<td></td>
822</tr>
823<tr>
824<td>showSecond</td>
825<td>Boolean</td>
826<td>whether show second</td>
827<td></td>
828</tr>
829<tr>
830<td>formatter</td> 812<td>formatter</td>
831<td>String</td>
832<td>GregorianCalendarFormatter</td> 813<td>GregorianCalendarFormatter</td>
833<td></td> 814<td>HH:mm:ss or HH:mm or mm:ss</td>
834<td></td> 815<td></td>
835</tr> 816</tr>
836<tr> 817<tr>
@@ -858,6 +839,24 @@ ReactDOM.render(<span class="xml"><span class="hljs-tag">&lt;<span class="hljs-t
858<td>called when select a different value</td> 839<td>called when select a different value</td>
859</tr> 840</tr>
860<tr> 841<tr>
842<td>onOpen</td>
843<td>Function</td>
844<td>null</td>
845<td>called when open picker</td>
846</tr>
847<tr>
848<td>onClose</td>
849<td>Function</td>
850<td>null</td>
851<td>called when close picker</td>
852</tr>
853<tr>
854<td>inputClassName</td>
855<td>String</td>
856<td>&#39;&#39;</td>
857<td></td>
858</tr>
859<tr>
861<td>placement</td> 860<td>placement</td>
862<td>String</td> 861<td>String</td>
863<td>bottomLeft</td> 862<td>bottomLeft</td>