mirror of
https://github.com/wassname/DefinitelyTyped.git
synced 2026-08-29 11:12:23 +08:00
explicit <any>
the event can be more specific. will check later
This commit is contained in:
Vendored
+2
-2
@@ -17,7 +17,7 @@ declare module ngGrid {
|
||||
aggregateTemplate?: string;
|
||||
|
||||
/** Callback for when you want to validate something after selection. */
|
||||
afterSelectionChange?: (rowItem?, event?) => void ;
|
||||
afterSelectionChange?: (rowItem?: any, event?: any) => void ;
|
||||
|
||||
/** Callback if you want to inspect something before selection,
|
||||
return false if you want to cancel the selection. return true otherwise.
|
||||
@@ -25,7 +25,7 @@ declare module ngGrid {
|
||||
use rowItem.changeSelection(event) method after returning false initially.
|
||||
Note: when shift+ Selecting multiple items in the grid this will only get called
|
||||
once and the rowItem will be an array of items that are queued to be selected. */
|
||||
beforeSelectionChange?: (rowItem?, event?) => boolean ;
|
||||
beforeSelectionChange?: (rowItem?: any, event?: any) => boolean ;
|
||||
|
||||
/** checkbox templates. */
|
||||
checkboxCellTemplate?: string;
|
||||
|
||||
Reference in New Issue
Block a user