shape String (default: 'pill')

Specifies the shape of the FloatingActionButton.

  • "rectangle"
  • "square"

Example

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

<script>
    $('#fab-shape').kendoFloatingActionButton({
        icon: 'home',
        shape: 'rectangle',
        items: [{
            icon: 'print',
            title: 'print action title',
/* The result can be observed in the DevTools(F12) console of the browser. */
            click: function() { console.log('print action'); }
        }]
    });
</script>
In this article