click

Fires when the user clicks on a the FloatingActionButton.

**Note: when using items configuration, clicking on the FloatingActionButton will open the speed-dial list popup.

Event Data

e.event Object

The original DOM event.

e.sender kendo.ui.FloatingActionButton

The FloatingActionButton instance that triggered the event.

e.preventDefault Function

If invoked prevents the click .

Example

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

<script>
    var fab = $('#fab').kendoFloatingActionButton({
        text: 'Print',
        click: function() {
/* The result can be observed in the DevTools(F12) console of the browser. */
            console.log('print');
        }
    });
</script>
In this article