expand

Fires when the speed-dial popup is opened and its animation is finished.

**Note: this event is triggered only when using items configuration.

Event Data

e.sender kendo.ui.FloatingActionButton

The FloatingActionButton instance that triggered the event.

Example

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

<script>
    var fab = $('#fab').kendoFloatingActionButton({
        text: 'Actions',
        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'); }
        }],
        expand: function() {
/* The result can be observed in the DevTools(F12) console of the browser. */
            console.log('expand event triggered');
        }
    }).getKendoFloatingActionButton();

    fab.element.trigger("click");
</script>
In this article