Skip to content

Commit 56a4aa0

Browse files
committed
Move some stuff - intoduce the "hardreset" function (very cool)
1 parent 7d09720 commit 56a4aa0

File tree

4 files changed

+234
-211
lines changed

4 files changed

+234
-211
lines changed

demos/api/events.html

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,7 @@ <h2>Public Functions</h2>
4040
<li><h3>$('element').datebox('disable');</h3><p>Disable the DateBox control</p></li>
4141
<li><h3>$('element').datebox('enable');</h3><p>Enable the DateBox control</p></li>
4242
<li><h3>$('element').datebox('refresh');</h3><p>Refresh the DateBox control</p></li>
43+
<li><h3>$('element').datebox('hardreset');</h3><p>Hard Reset the DateBox control, rebuild the interface window.</p></li>
4344
</ul>
4445

4546
<h2>Events</h2>
@@ -75,6 +76,7 @@ <h2>Events</h2>
7576
<li><h3>Trigger to set specified date</h3><p><strong>{'method'}</strong> === set<br /><strong>{'value'}</strong> === value to place in input</p></li>
7677
<li><h3>Trigger to refresh input date</h3><p><strong>{'method'}</strong> === doset</p></li>
7778
<li><h3>Trigger to refresh</h3><p><strong>Note:</strong> Not used interaly.<br /><strong>{'method'}</strong> === dorefresh</p></li>
79+
<li><h3>Trigger to hard reset the controls</h3><p><strong>Note:</strong> Not used interaly.<br /><strong>{'method'}</strong> === doreset</p></li>
7880
<li><h3>Trigger to change date</h3><p><strong>Note:</strong> Not used interaly.<br /><strong>{'method'}</strong> === dooffset<br /><strong>{'amount'}</strong> === Amount of change (usually +/- 1)<br /><strong>{'type'}</strong> === Type of change ( 'y' = Year, 'm' = Month, 'd' = Date, 'h' = Hour, 'i' = Minute, 's' = Second, 'a' = Meridian ) </p></li>
7981
<li data-role="list-divider">Event Payloads - Action causes trigger</li>
8082
<li><h3>Triggered on datebox enable</h3><p><strong>{'method'}</strong> === enable</p></li>

demos/api/matrix.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -126,7 +126,7 @@ <h2>Available Options</h2>
126126
<li><h3>durationShort</h3><p><strong>OPTION REMOVED</strong></p></li>
127127
<li><h3>durationNoDays</h3><p><strong>OPTION REMOVED</strong></p></li>
128128
<li data-role="list-divider">Input Format</li>
129-
<li><h3>timeFormat</h3><p><strong>Purpose:</strong>Set either a 12 or 24 hour clock<br /><strong>Default:</strong> 24<br /><strong>Modes:</strong> time</p></li>
129+
<li><h3>timeFormat</h3><p><strong>MOVED! This is now in the i8n settings! Purpose:</strong>Set either a 12 or 24 hour clock<br /><strong>Default:</strong> 24<br /><strong>Modes:</strong> time</p></li>
130130
<li><h3>fieldsOrder</h3><p><strong>Purpose:</strong>Define the order of the fields<br /><strong>Default:</strong> android: ['m', 'd', 'y'], slide: ['y', 'm', 'd'], time: ['h', 'i', 'a'] ('a' only displays on 12 hour format)<br /><strong>Modes:</strong> android, time, slide<br />
131131
<pre><code> y : Year
132132
m : Month

0 commit comments

Comments
 (0)