mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2026-07-04 17:20:09 +00:00
Moved options to global IGridoptions
Moved options infiniteScrollRowsFromEnd, infiniteScrollUp and infiniteScrollDown into the global Igridoptions.
This commit is contained in:
38
ui-grid/ui-grid.d.ts
vendored
38
ui-grid/ui-grid.d.ts
vendored
@@ -713,6 +713,25 @@ declare module uiGrid {
|
||||
* @default 4
|
||||
*/
|
||||
horizontalScrollThreshold?: number;
|
||||
/**
|
||||
* Number of rows from the end of the dataset
|
||||
* at which infinite scroll will trigger a request
|
||||
* for more data
|
||||
* @default 20
|
||||
*/
|
||||
infiniteScrollRowsFromEnd?: number;
|
||||
/**
|
||||
* Inform the grid of whether there are rows
|
||||
* to load when scrolling up
|
||||
* @default false
|
||||
*/
|
||||
infiniteScrollUp?: boolean,
|
||||
/**
|
||||
* Inform the grid of whether there are rows
|
||||
* to load scrolling down
|
||||
* @default true
|
||||
*/
|
||||
infiniteScrollDown?: boolean,
|
||||
/**
|
||||
* Defaults to 200
|
||||
* @default 200
|
||||
@@ -2087,25 +2106,6 @@ declare module uiGrid {
|
||||
* @default true
|
||||
*/
|
||||
enableInfiniteScroll?: boolean;
|
||||
/**
|
||||
* Number of rows from the end of the dataset
|
||||
* at which infinite scroll will trigger a request
|
||||
* for more data
|
||||
* @default 20
|
||||
*/
|
||||
infiniteScrollRowsFromEnd?: number;
|
||||
/**
|
||||
* Inform the grid of whether there are rows
|
||||
* to load when scrolling up
|
||||
* @default false
|
||||
*/
|
||||
infiniteScrollUp?: boolean,
|
||||
/**
|
||||
* Inform the grid of whether there are rows
|
||||
* to load scrolling down
|
||||
* @default true
|
||||
*/
|
||||
infiniteScrollDown?: boolean,
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user