FloatingActionButtonEventBuilder

Methods

Click(System.String)

Defines the handler of the Click client-side event. 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.

For more information see Click event.

Parameters

handler - System.String

The name of the JavaScript function that will handle the Click event.

RETURNS

Returns the current instance of FloatingActionButtonEventBuilder .

Example

Razor
 
             @( Html.Kendo().FloatingActionButton()
                        .Name("FloatingActionButton")
                        .Events(events => events
                            .Click("onClick")
                        )
            )
             

Click(System.Func)

Defines the handler of the Click client-side event. 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.

For more information see Click event.

Parameters

handler - System.Func<Object,Object>

The handler code wrapped in a text tag.

RETURNS

Returns the current instance of FloatingActionButtonEventBuilder .

Example

Razor
 ))
            )
             

Collapse(System.String)

Defines the handler of the Collapse client-side event. Fires when the speed-dial popup is closed and its animation is finished.**Note: this event is triggered only when using items configuration.

For more information see Collapse event.

Parameters

handler - System.String

The name of the JavaScript function that will handle the Collapse event.

RETURNS

Returns the current instance of FloatingActionButtonEventBuilder .

Example

Razor
 
             @( Html.Kendo().FloatingActionButton()
                        .Name("FloatingActionButton")
                        .Events(events => events
                            .Collapse("onCollapse")
                        )
            )
             

Collapse(System.Func)

Defines the handler of the Collapse client-side event. Fires when the speed-dial popup is closed and its animation is finished.**Note: this event is triggered only when using items configuration.

For more information see Collapse event.

Parameters

handler - System.Func<Object,Object>

The handler code wrapped in a text tag.

RETURNS

Returns the current instance of FloatingActionButtonEventBuilder .

Example

Razor
 ))
            )
             

Expand(System.String)

Defines the handler of the Expand client-side event. Fires when the speed-dial popup is opened and its animation is finished.**Note: this event is triggered only when using items configuration.

For more information see Expand event.

Parameters

handler - System.String

The name of the JavaScript function that will handle the Expand event.

RETURNS

Returns the current instance of FloatingActionButtonEventBuilder .

Example

Razor
 
             @( Html.Kendo().FloatingActionButton()
                        .Name("FloatingActionButton")
                        .Events(events => events
                            .Expand("onExpand")
                        )
            )
             

Expand(System.Func)

Defines the handler of the Expand client-side event. Fires when the speed-dial popup is opened and its animation is finished.**Note: this event is triggered only when using items configuration.

For more information see Expand event.

Parameters

handler - System.Func<Object,Object>

The handler code wrapped in a text tag.

RETURNS

Returns the current instance of FloatingActionButtonEventBuilder .

Example

Razor
 ))
            )
             

KendoKeydown(System.String)

Defines the handler of the KendoKeydown client-side event. Triggered when the user presses a keyboard key while the FloatingActionButton is focused.The event handler function context (available via the this keyword) will be set to the widget instance.

For more information see KendoKeydown event.

Parameters

handler - System.String

The name of the JavaScript function that will handle the KendoKeydown event.

RETURNS

Returns the current instance of FloatingActionButtonEventBuilder .

KendoKeydown(System.Func)

Defines the handler of the KendoKeydown client-side event. Triggered when the user presses a keyboard key while the FloatingActionButton is focused.The event handler function context (available via the this keyword) will be set to the widget instance.

For more information see KendoKeydown event.

Parameters

handler - System.Func<Object,Object>

The handler code wrapped in a text tag.

RETURNS

Returns the current instance of FloatingActionButtonEventBuilder .