New to Kendo UI for jQuery? Start a free 30-day trial

Actions.icon

configuration

The name of the icon to display inside the button.

Set this option to an icon descriptor such as { name: "gear", variant: "outline" }. The variant can be outline, solid, or duotone; it applies to SVG rendering and is ignored for font icons.

actions.icon

String|Object
<span id="target">
    Some Content
</span>

<script>
    $(document).ready(function() {
      $("#target").kendoPopover({
        showOn: "click",
        header: "Header text",
        body: "Content description",
        actionsLayout: "center",
        actions: [{ text: "refresh", icon: "arrow-rotate-cw", iconClass: "refresh-icon" }, { icon: "pencil", iconClass: "edit-icon" }]
      });
    });
</script>

The name of the SVG icon.

<span id="target">
    Some Content
</span>

<script>
    $(document).ready(function() {
      $("#target").kendoPopover({
        showOn: "click",
        header: "Header text",
        body: "Content description",
        actionsLayout: "center",
        actions: [{ text: "refresh", icon: { name: "arrow-rotate-cw" }, iconClass: "refresh-icon" }, { icon: { name: "pencil" }, iconClass: "edit-icon" }]
      });
    });
</script>

The SVG icon variant. Supported values are outline, solid, and duotone. The variant applies to SVG rendering and is ignored for font icons.

<span id="target">
    Some Content
</span>

<script>
    $(document).ready(function() {
      $("#target").kendoPopover({
        showOn: "click",
        header: "Header text",
        body: "Content description",
        actionsLayout: "center",
        actions: [{ text: "refresh", icon: { name: "arrow-rotate-cw", variant: "outline" }, iconClass: "refresh-icon" }, { icon: { name: "pencil", variant: "outline" }, iconClass: "edit-icon" }]
      });
    });
</script>