title | page_title | description | slug | canonicalLink | position |
---|---|---|---|---|---|
Icon Button |
Icon Button - Button - Kendo UI for Vue |
Add images or predefined and custom icons to the Kendo UI Button wrapper for Vue. |
icons_button_wrapper |
3 |
You can enhance the meaning of the context by adding an icon to the Button either through the img
element or over a background icon, which is usually a sprite.
According to web standards, the use of background images is better, because the icon is a decoration and does not represent structural content. The Button supports three options which help configure icons—icon
, spriteCssClass
, and imageUrl
. You can apply only one at a time.
{% meta height:250 %} {% embed_file button/icon-button/main.vue preview %} {% embed_file button/icon-button/main.js %} {% endmeta %}