JavaScript/jQuery Funnel Events
This section describes events that the Funnel widget raises.
disposing
Raised before the widget is disposed of.
Event
Information about the event.
| Name | Type | Description | 
|---|---|---|
| component | 
                         The widget instance.  | 
                |
| element | 
                         The widget's container. It is an HTML Element or a jQuery Element when you use jQuery.  | 
                |
| model | 
                         The model data. Available only if you use Knockout.  | 
                
Main article: onDisposing
See Also
drawn
Raised when the widget's rendering has finished.
Event
Information about the event.
| Name | Type | Description | 
|---|---|---|
| component | 
                         The widget's instance.  | 
                |
| element | 
                         The widget's container. It is an HTML Element or a jQuery Element when you use jQuery.  | 
                |
| model | 
                         The model data. Available only if you use Knockout.  | 
                
exported
Raised after the widget is exported.
Event
Information about the event.
| Name | Type | Description | 
|---|---|---|
| component | 
                         The widget's instance.  | 
                |
| element | 
                         The widget's container. It is an HTML Element or a jQuery Element when you use jQuery.  | 
                |
| model | 
                         The model data. Available only if you use Knockout.  | 
                
Main article: onExported
See Also
exporting
Raised before the widget is exported.
Event
Information about the event.
| Name | Type | Description | 
|---|---|---|
| component | 
                         The widget's instance.  | 
                |
| element | 
                         The widget's container. It is an HTML Element or a jQuery Element when you use jQuery.  | 
                |
| model | 
                         The model data. Available only if you use Knockout.  | 
                |
| fileName | 
                         The name of the file to which the widget is about to be exported.  | 
                |
| cancel | 
                         Allows you to prevent exporting.  | 
                |
| format | 
                         The resulting file format. One of PNG, PDF, JPEG, SVG and GIF.  | 
                
Main article: onExporting
See Also
fileSaving
Raised before a file with exported widget is saved to the user's local storage.
Event
Information about the event.
| Name | Type | Description | 
|---|---|---|
| component | 
                         The widget's instance.  | 
                |
| element | 
                         The widget's container. It is an HTML Element or a jQuery Element when you use jQuery.  | 
                |
| fileName | 
                         The name of the file to be saved.  | 
                |
| format | 
                         The format of the file to be saved.  | 
                |
| data | 
                         Exported data as a BLOB.  | 
                |
| cancel | 
                         Allows you to prevent file saving.  | 
                
Main article: onFileSaving
See Also
hoverChanged
Raised after the pointer enters or leaves a funnel item.
Event
Information about the event.
| Name | Type | Description | 
|---|---|---|
| component | 
                         The widget's instance.  | 
                |
| element | 
                         The widget's container. It is an HTML Element or a jQuery Element when you use jQuery.  | 
                |
| model | 
                         The model data. Available only if you use Knockout.  | 
                |
| item | 
                         The Item object.  | 
                
Main article: onHoverChanged
See Also
incidentOccurred
Raised when an error or warning occurs.
Event
Information about the event.
| Name | Type | Description | 
|---|---|---|
| component | 
                         The widget's instance.  | 
                |
| element | 
                         The widget's container. It is an HTML Element or a jQuery Element when you use jQuery.  | 
                |
| model | 
                         The model data. Available only if you use Knockout.  | 
                |
| target | any | 
                         Information on the occurred incident.  | 
                
Main article: onIncidentOccurred
See Also
initialized
Raised only once, after the widget is initialized.
Event
Information about the event.
| Name | Type | Description | 
|---|---|---|
| component | 
                         The widget's instance.  | 
                |
| element | 
                         The widget's container. It is an HTML Element or a jQuery Element when you use jQuery.  | 
                
Main article: onInitialized
See Also
itemClick
Raised when a funnel item is clicked or tapped.
Event
Information about the event.
| Name | Type | Description | 
|---|---|---|
| component | 
                         The widget's instance.  | 
                |
| element | 
                         The widget's container. It is an HTML Element or a jQuery Element when you use jQuery.  | 
                |
| model | 
                         The model data. Available only if you use Knockout.  | 
                |
| jQueryEvent | 
                             Use 'event' instead. The jQuery event that caused the handler execution. Deprecated in favor of the event field.  | 
                |
| event | Event (jQuery or EventObject)  | 
                    
                         The event that caused the handler execution. It is a dxEvent or a jQuery.Event when you use jQuery.  | 
                
| item | 
                         The Item object.  | 
                
Main article: onItemClick
See Also
legendClick
Raised when a legend item is clicked or tapped.
Event
Information about the event.
| Name | Type | Description | 
|---|---|---|
| component | 
                         The widget's instance.  | 
                |
| element | 
                         The widget's container. It is an HTML Element or a jQuery Element when you use jQuery.  | 
                |
| model | 
                         The model data. Available only if you use Knockout.  | 
                |
| jQueryEvent | 
                             Use 'event' instead. The jQuery event that caused the handler execution. Deprecated in favor of the event field.  | 
                |
| event | Event (jQuery or EventObject)  | 
                    
                         The event that caused the handler execution. It is a dxEvent or a jQuery.Event when you use jQuery.  | 
                
| item | 
                         The Item object.  | 
                
Main article: onLegendClick
See Also
optionChanged
Raised after a widget option is changed.
Event
Information about the event.
| Name | Type | Description | 
|---|---|---|
| name | 
                         The option's short name.  | 
                |
| model | 
                         The model data. Available only if you use Knockout.  | 
                |
| element | 
                         The widget's container. It is an HTML Element or a jQuery Element when you use jQuery.  | 
                |
| component | 
                         The widget's instance.  | 
                |
| fullName | 
                         The option's full name.  | 
                |
| value | any | 
                         The option's new value.  | 
                
Main article: onOptionChanged
See Also
selectionChanged
Raised when a funnel item is selected or the selection is canceled.
Event
Information about the event.
| Name | Type | Description | 
|---|---|---|
| component | 
                         The widget's instance.  | 
                |
| element | 
                         The widget's container. It is an HTML Element or a jQuery Element when you use jQuery.  | 
                |
| model | 
                         The model data. Available only if you use Knockout.  | 
                |
| item | 
                         The Item object.  | 
                
Main article: onSelectionChanged
See Also
If you have technical questions, please create a support ticket in the DevExpress Support Center.