diff options
author | afc163 <afc163@gmail.com> | 2015-12-04 22:36:31 +0800 |
---|---|---|
committer | afc163 <afc163@gmail.com> | 2015-12-04 22:36:31 +0800 |
commit | c1e0e40b2dfc15d0f88a16a966d8e50f5de495de (patch) | |
tree | ff446b2aabddb4209aac29aa56f0eff89dc63912 /index.html | |
parent | dca68b5030302ed1943ee6dcd6b0968dc570e650 (diff) | |
download | time-picker-c1e0e40b2dfc15d0f88a16a966d8e50f5de495de.tar.gz time-picker-c1e0e40b2dfc15d0f88a16a966d8e50f5de495de.tar.zst time-picker-c1e0e40b2dfc15d0f88a16a966d8e50f5de495de.zip |
Updates
Diffstat (limited to 'index.html')
-rw-r--r-- | index.html | 49 |
1 files changed, 24 insertions, 25 deletions
@@ -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>; |
757 | import 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>; |
758 | import 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>; |
759 | ReactDOM.render(<span class="xml"><span class="hljs-tag"><<span class="hljs-title">TimePicker</span> /></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> | 759 | ReactDOM.render(<span class="xml"><span class="hljs-tag"><<span class="hljs-title">TimePicker</span> /></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"><<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>''</td> | 808 | <td>''</td> |
815 | <td>time input's placeholder</td> | 809 | <td>time input'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"><<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>''</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> |