Doc refactor for Spinner

pull/12/head
cagataycivici 2019-05-22 17:14:40 +03:00
parent 1e96522df8
commit 7608d166ba
1 changed files with 52 additions and 74 deletions

View File

@ -26,6 +26,7 @@ import Spinner from 'primevue/spinner';
</CodeHighlight> </CodeHighlight>
<h3>Properties</h3> <h3>Properties</h3>
<p>Any valid attribute such as name and placeholder are passed to the underlying input element. Following are the additional properties to configure the component.</p>
<div class="doc-tablewrapper"> <div class="doc-tablewrapper">
<table class="doc-table"> <table class="doc-table">
<thead> <thead>
@ -39,7 +40,7 @@ import Spinner from 'primevue/spinner';
<tbody> <tbody>
<tr> <tr>
<td>value</td> <td>value</td>
<td>string</td> <td>number</td>
<td>null</td> <td>null</td>
<td>Value of the component.</td> <td>Value of the component.</td>
</tr> </tr>
@ -61,35 +62,12 @@ import Spinner from 'primevue/spinner';
<td>null</td> <td>null</td>
<td>Maximum boundary value.</td> <td>Maximum boundary value.</td>
</tr> </tr>
<tr>
<td>disabled</td>
<td>boolean</td>
<td>false</td>
<td>When present, it specifies that the element should be disabled.</td>
</tr>
</tbody> </tbody>
</table> </table>
</div> </div>
<h3>Events</h3> <h3>Events</h3>
<div class="doc-tablewrapper"> <p>Any valid event such as focus, blur and input are passed to the underlying input element. Following are the additional events to configure the component.</p>
<table class="doc-table">
<thead>
<tr>
<th>Name</th>
<th>Parameters</th>
<th>Description</th>
</tr>
</thead>
<tbody>
<tr>
<td>input</td>
<td>event: New value</td>
<td>Callback to invoke on value change.</td>
</tr>
</tbody>
</table>
</div>
<h3>Styling</h3> <h3>Styling</h3>
<p>Following is the list of structural style classes, for theming classes visit <router-link to="/theming">theming</router-link> page.</p> <p>Following is the list of structural style classes, for theming classes visit <router-link to="/theming">theming</router-link> page.</p>