FloatingActionButtonEventBuilder
Methods
Click(System.String)
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.
Example
@( Html.Kendo().FloatingActionButton()
.Name("FloatingActionButton")
.Events(events => events
.Click("onClick")
)
)
Collapse(System.String)
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.
Example
@( Html.Kendo().FloatingActionButton()
.Name("FloatingActionButton")
.Events(events => events
.Collapse("onCollapse")
)
)
Expand(System.String)
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.
Example
@( Html.Kendo().FloatingActionButton()
.Name("FloatingActionButton")
.Events(events => events
.Expand("onExpand")
)
)