mtrl-addons 0.2.9 → 0.3.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -593,6 +593,14 @@ export interface VListConfig<T extends ListItem = ListItem> {
|
|
|
593
593
|
/** Velocity threshold (px/ms) above which data loading is cancelled and placeholders are shown. Default: 2 */
|
|
594
594
|
cancelLoadThreshold?: number;
|
|
595
595
|
};
|
|
596
|
+
rendering?: {
|
|
597
|
+
/**
|
|
598
|
+
* Maintain DOM order to match visual index order.
|
|
599
|
+
* Enables CSS selectors like :first-child, :nth-child() to work correctly.
|
|
600
|
+
* Default: true
|
|
601
|
+
*/
|
|
602
|
+
maintainDomOrder?: boolean;
|
|
603
|
+
};
|
|
596
604
|
selection?: ListSelectionConfig;
|
|
597
605
|
on?: ListEventHandlers<T>;
|
|
598
606
|
}
|
|
@@ -9,6 +9,12 @@ export interface RenderingConfig {
|
|
|
9
9
|
measureItems?: boolean;
|
|
10
10
|
enableRecycling?: boolean;
|
|
11
11
|
maxPoolSize?: number;
|
|
12
|
+
/**
|
|
13
|
+
* Maintain DOM order to match visual index order.
|
|
14
|
+
* Enables CSS selectors like :first-child, :nth-child() to work correctly.
|
|
15
|
+
* Default: true
|
|
16
|
+
*/
|
|
17
|
+
maintainDomOrder?: boolean;
|
|
12
18
|
}
|
|
13
19
|
/**
|
|
14
20
|
* Rendering feature for viewport
|
|
@@ -62,6 +62,14 @@ export interface ViewportConfig {
|
|
|
62
62
|
enabled?: boolean;
|
|
63
63
|
autoHide?: boolean;
|
|
64
64
|
};
|
|
65
|
+
rendering?: {
|
|
66
|
+
/**
|
|
67
|
+
* Maintain DOM order to match visual index order.
|
|
68
|
+
* Enables CSS selectors like :first-child, :nth-child() to work correctly.
|
|
69
|
+
* Default: true
|
|
70
|
+
*/
|
|
71
|
+
maintainDomOrder?: boolean;
|
|
72
|
+
};
|
|
65
73
|
performance?: {
|
|
66
74
|
maxConcurrentRequests?: number;
|
|
67
75
|
cancelLoadThreshold?: number;
|