@@ -11,6 +11,7 @@ export declare const Smart: any;
1111export interface MultiSplitButtonProps extends MultiSplitButtonProperties {
1212 className ?: string ;
1313 style ?: React . CSSProperties ;
14+ onButtonClick ?: ( ( event ?: Event ) => void ) | undefined ;
1415 onChange ?: ( ( event ?: Event ) => void ) | undefined ;
1516 onClose ?: ( ( event ?: Event ) => void ) | undefined ;
1617 onClosing ?: ( ( event ?: Event ) => void ) | undefined ;
@@ -206,17 +207,34 @@ export declare class MultiSplitButton extends React.Component<React.HTMLAttribut
206207 get virtualized ( ) : boolean ;
207208 set virtualized ( value : boolean ) ;
208209 get properties ( ) : string [ ] ;
209- /** This event is triggered when button's dropDown selection is changed .
210+ /** This event is triggered when action button is clicked .
210211 * @param event. The custom event. */
212+ onButtonClick ?: ( ( event ?: Event ) => void ) | undefined ;
213+ /** This event is triggered when the selection is changed.
214+ * @param event. The custom event. Custom event was created with: event.detail( addedItems, disabled, index, label, removedItems, selected, value)
215+ * addedItems - An array of List items that have been selected.
216+ * disabled - A flag indicating whether or not the item that caused the change event is disabled.
217+ * index - The index of the List item that triggered the event.
218+ * label - The label of the List item that triggered the event.
219+ * removedItems - An array of List items that have been unselected before the event was fired.
220+ * selected - The selected state of the List item that triggered the event. If an item was selected the value will be true and vice versa.
221+ * value - The value of the List item that triggered the event.
222+ */
211223 onChange ?: ( ( event ?: Event ) => void ) | undefined ;
212224 /** This event is triggered when button's dropDown list is closed.
213225 * @param event. The custom event. */
214226 onClose ?: ( ( event ?: Event ) => void ) | undefined ;
215227 /** This event is triggered when button's dropDown list is closing.
216228 * @param event. The custom event. */
217229 onClosing ?: ( ( event ?: Event ) => void ) | undefined ;
218- /** This event is triggered when user clicks any of the element's buttons or button's dropDown items.
219- * @param event. The custom event. */
230+ /** This event is triggered when an item is clicked.
231+ * @param event. The custom event. Custom event was created with: event.detail( disabled, index, label, selected, value)
232+ * disabled - Indicates whether the List item that was clicked is disabled or not.
233+ * index - Indicates the index of the List item that was clicked.
234+ * label - The label of the List item that was clicked.
235+ * selected - Indicates whether the List item that was clicked is selected or not.
236+ * value - The value of the List item that was clicked.
237+ */
220238 onItemClick ?: ( ( event ?: Event ) => void ) | undefined ;
221239 /** This event is triggered when button's dropDown list is opened.
222240 * @param event. The custom event. */
0 commit comments