shape

Sets or gets the FloatingActionButton shape. See floatingactionbutton.options.shape for valid options.

Parameters

shape String

The new shape of the button.

Example

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

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

    fab.shape('rectangle');
</script>
In this article