icon

Sets or gets the icon of the FloatingActionButton.

Parameters

icon String

See floatingactionbutton.options.icon for valid options.

Example

<button id="fab"></button>

<script>
    var fab = $('#fab').kendoFloatingActionButton({
        text: 'Actions'
    }).getKendoFloatingActionButton();

    fab.icon('plus');
</script>
In this article