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")
)
)
Click(System.Func)
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.
Example
))
)
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")
)
)
Collapse(System.Func)
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.
Example
))
)
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")
)
)
Expand(System.Func)
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.
Example
))
)