Browse Source

Updates docs to reflect changes in 0.12.0

pull/524/head
jlukic 10 years ago
parent
commit
b230d08c61
4 changed files with 37 additions and 1 deletions
  1. 4
      server/documents/elements/input.html.eco
  2. 18
      server/documents/modules/dropdown.html.eco
  3. 11
      server/documents/modules/modal.html.eco
  4. 5
      server/documents/modules/transition.html.eco

4
server/documents/elements/input.html.eco

@ -122,6 +122,10 @@ type : 'UI Element'
<input type="text" placeholder="Search a very wide input..."> <input type="text" placeholder="Search a very wide input...">
<i class="search icon"></i> <i class="search icon"></i>
</div> </div>
<div class="ui fluid action input">
<input type="text" placeholder="Search...">
<div class="ui button">Search</div>
</div>
</div> </div>
<div class="example"> <div class="example">

18
server/documents/modules/dropdown.html.eco

@ -26,7 +26,7 @@ type : 'UI Module'
<h2 class="ui dividing header">Types</h2> <h2 class="ui dividing header">Types</h2>
<div class="visible dropdown example">
<div class="dropdown example">
<h4 class="ui header">Dropdown</h4> <h4 class="ui header">Dropdown</h4>
<p>A basic dropdown has no special formatting of its own</p> <p>A basic dropdown has no special formatting of its own</p>
<div class="ui dropdown"> <div class="ui dropdown">
@ -274,6 +274,22 @@ type : 'UI Module'
<td>hide others</td> <td>hide others</td>
<td>Hides all other dropdowns that is not current dropdown</td> <td>Hides all other dropdowns that is not current dropdown</td>
</tr> </tr>
<tr>
<td>restore defaults</td>
<td>Restores dropdown text and value to its value on page load</td>
</tr>
<tr>
<td>restore default text</td>
<td>Restores dropdown text to its value on page load</td>
</tr>
<tr>
<td>restore default value</td>
<td>Restores dropdown value to its value on page load</td>
</tr>
<tr>
<td>save defaults</td>
<td>Saves current text and value as new defaults (for use with restore)</td>
</tr>
<tr> <tr>
<td>set selected(value)</td> <td>set selected(value)</td>
<td>Sets selected state to a given value</td> <td>Sets selected state to a given value</td>

11
server/documents/modules/modal.html.eco

@ -248,6 +248,7 @@ type : 'UI Module'
<div class="ui info message"> <div class="ui info message">
<div class="header">Why move modal content?</div> <div class="header">Why move modal content?</div>
<p>Having a modal inside the page dimmer allows for 3D animations without having the 3D perspective settings alter the rest of the page content. Additionally, content outside the dimmer can be blurred or altered without affecting the modal's content.</p> <p>Having a modal inside the page dimmer allows for 3D animations without having the 3D perspective settings alter the rest of the page content. Additionally, content outside the dimmer can be blurred or altered without affecting the modal's content.</p>
<p>If you need to have your modal stay in its current location you can preserve its position using the setting <code>detachable: false</code></p>
</div> </div>
<div class="code" data-type="javascript"> <div class="code" data-type="javascript">
$('.ui.modal') $('.ui.modal')
@ -361,6 +362,16 @@ type : 'UI Module'
</tr> </tr>
</thead> </thead>
<tbody> <tbody>
<tr>
<td>detachable</td>
<td>true</td>
<td>If set to false will prevent the modal from being moved to inside the dimmer</td>
</tr>
<tr>
<td>allowMultiple</td>
<td>false</td>
<td>If set to true will not close other visible modals when opening a new one</td>
</tr>
<tr> <tr>
<td>offset</td> <td>offset</td>
<td>0</td> <td>0</td>

5
server/documents/modules/transition.html.eco

@ -366,6 +366,11 @@ type : 'UI Module'
<td>700ms</td> <td>700ms</td>
<td>Duration of the css transition animation</td> <td>Duration of the css transition animation</td>
</tr> </tr>
<tr>
<td>allowRepeats</td>
<td>false</td>
<td>If enabled will allow same animation to be queued while it is already occurring</td>
</tr>
<tr> <tr>
<td>queue</td> <td>queue</td>
<td>true</td> <td>true</td>

Loading…
Cancel
Save