Doc refactor on ToggleButton

pull/12/head
cagataycivici 2019-05-22 17:17:41 +03:00
parent 7608d166ba
commit 60801822d1
1 changed files with 106 additions and 106 deletions

View File

@ -34,68 +34,68 @@ export default {
<div class="doc-tablewrapper"> <div class="doc-tablewrapper">
<table class="doc-table"> <table class="doc-table">
<thead> <thead>
<tr> <tr>
<th>Name</th> <th>Name</th>
<th>Type</th> <th>Type</th>
<th>Default</th> <th>Default</th>
<th>Description</th> <th>Description</th>
</tr> </tr>
</thead> </thead>
<tbody> <tbody>
<tr> <tr>
<td>value</td> <td>value</td>
<td>any</td> <td>any</td>
<td>null</td> <td>null</td>
<td>Value of the component.</td> <td>Value of the component.</td>
</tr> </tr>
<tr> <tr>
<td>onIcon</td> <td>onIcon</td>
<td>string</td> <td>string</td>
<td>null</td> <td>null</td>
<td>Icon for the on state.</td> <td>Icon for the on state.</td>
</tr> </tr>
<tr> <tr>
<td>offIcon</td> <td>offIcon</td>
<td>string</td> <td>string</td>
<td>null</td> <td>null</td>
<td>Icon for the off state.</td> <td>Icon for the off state.</td>
</tr> </tr>
<tr> <tr>
<td>onLabel</td> <td>onLabel</td>
<td>string</td> <td>string</td>
<td>yes</td> <td>yes</td>
<td>Label for the on state.</td> <td>Label for the on state.</td>
</tr> </tr>
<tr> <tr>
<td>offLabel</td> <td>offLabel</td>
<td>string</td> <td>string</td>
<td>no</td> <td>no</td>
<td>Label for the off state.</td> <td>Label for the off state.</td>
</tr> </tr>
<tr> <tr>
<td>inputId</td> <td>inputId</td>
<td>string</td> <td>string</td>
<td>null</td> <td>null</td>
<td>Identifier of the input element.</td> <td>Identifier of the input element.</td>
</tr> </tr>
<tr> <tr>
<td>name</td> <td>name</td>
<td>string</td> <td>string</td>
<td>null</td> <td>null</td>
<td>Name of the input element.</td> <td>Name of the input element.</td>
</tr> </tr>
<tr> <tr>
<td>iconPos</td> <td>iconPos</td>
<td>string</td> <td>string</td>
<td>left</td> <td>left</td>
<td>Position of the icon, valid values are "left" and "right".</td> <td>Position of the icon, valid values are "left" and "right".</td>
</tr> </tr>
<tr> <tr>
<td>disabled</td> <td>disabled</td>
<td>boolean</td> <td>boolean</td>
<td>null</td> <td>null</td>
<td>When present, it specifies that the element should be disabled.</td> <td>When present, it specifies that the element should be disabled.</td>
</tr> </tr>
</tbody> </tbody>
</table> </table>
</div> </div>
@ -104,38 +104,38 @@ export default {
<div class="doc-tablewrapper"> <div class="doc-tablewrapper">
<table class="doc-table"> <table class="doc-table">
<thead> <thead>
<tr> <tr>
<th>Name</th> <th>Name</th>
<th>Parameters</th> <th>Parameters</th>
<th>Description</th> <th>Description</th>
</tr> </tr>
</thead> </thead>
<tbody> <tbody>
<tr> <tr>
<td>change</td> <td>change</td>
<td>event: Browser event</td> <td>event: Browser event</td>
<td>Callback to invoke on value change.</td> <td>Callback to invoke on value change.</td>
</tr> </tr>
<tr> <tr>
<td>input</td> <td>input</td>
<td>event: Value as the checked state.</td> <td>event: Value as the checked state.</td>
<td>Callback to invoke on click.</td> <td>Callback to invoke on value change.</td>
</tr> </tr>
<tr> <tr>
<td>click</td> <td>click</td>
<td>event: Browser event</td> <td>event: Browser event</td>
<td>Callback to invoke click.</td> <td>Callback to invoke on click.</td>
</tr> </tr>
<tr> <tr>
<td>focus</td> <td>focus</td>
<td>event: Browser event</td> <td>event: Browser event</td>
<td>Callback to invoke on focus.</td> <td>Callback to invoke on focus.</td>
</tr> </tr>
<tr> <tr>
<td>blur</td> <td>blur</td>
<td>event: Browser event</td> <td>event: Browser event</td>
<td>Callback to invoke on blur.</td> <td>Callback to invoke on blur.</td>
</tr> </tr>
</tbody> </tbody>
</table> </table>
</div> </div>
@ -145,24 +145,24 @@ export default {
<div class="doc-tablewrapper"> <div class="doc-tablewrapper">
<table class="doc-table"> <table class="doc-table">
<thead> <thead>
<tr> <tr>
<th>Name</th> <th>Name</th>
<th>Element</th> <th>Element</th>
</tr> </tr>
</thead> </thead>
<tbody> <tbody>
<tr> <tr>
<td>p-togglebutton</td> <td>p-togglebutton</td>
<td>Container element</td> <td>Container element</td>
</tr> </tr>
<tr> <tr>
<td>p-button-icon-left</td> <td>p-button-icon-left</td>
<td>Icon element.</td> <td>Icon element.</td>
</tr> </tr>
<tr> <tr>
<td>p-button-text</td> <td>p-button-text</td>
<td>Label element.</td> <td>Label element.</td>
</tr> </tr>
</tbody> </tbody>
</table> </table>
</div> </div>