<td class="option"><span style="font-family: Courier New,Courier,monospace">data-icon</span></td>
<td class="option">string | null</td>
<td class="option">null</td>
- <td class="option">Icon type.</td>
+ <td class="option">
+ If you use this option, a class "ui-icon-" is added.
+ <br>For example, data-icon="delete" adds a class "ui-icon-delete".
+ <br><b>NOTE: The image resources for icon are not provided by TAU.</b>
+ <br>To insert an image resource, you should use <i>-webkit-mask-image</i> css property to the <i>::after</i> pseudo element of the button.
+ <br><br><b>CSS example :</b>
+ <br>.ui-icon-delete::after {
+ <br> -webkit-mask-image: url(<i>'image file path'</i>);
+ <br>}
+ </td>
</tr>
<tr>
<td class="option">If the value is <code>true</code>, the button has the <code>display = "inline"</code> CSS property.</td>
</tr>
- <tr>
- <td class="option"><span style="font-family: Courier New,Courier,monospace">data-disabled</span></td>
- <td class="option">boolean</td>
- <td class="option">false</td>
- <td class="option">If the value is <code>true</code>, the button has disabled status.</td>
- </tr>
+ <tr>
+ <td class="option"><span style="font-family: Courier New,Courier,monospace">data-disabled</span></td>
+ <td class="option">boolean</td>
+ <td class="option">false</td>
+ <td class="option">If the value is <code>true</code>, the button has disabled status.</td>
+ </tr>
<tr>
<td class="option"><span style="font-family: Courier New,Courier,monospace">data-style</span></td>