mtrl-addons 0.3.6 → 0.3.7

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.
@@ -561,6 +561,8 @@ export interface VListConfig<T extends ListItem = ListItem> {
561
561
  prefix?: string;
562
562
  ariaLabel?: string;
563
563
  debug?: boolean;
564
+ /** Automatically select first item after initial load (default: false) */
565
+ autoSelectFirst?: boolean;
564
566
  initialScrollIndex?: number;
565
567
  selectId?: string | number;
566
568
  autoLoad?: boolean;
@@ -37,6 +37,12 @@ export interface ViewportConfig {
37
37
  element?: HTMLElement;
38
38
  className?: string;
39
39
  debug?: boolean;
40
+ /** ID of item to select after initial load completes */
41
+ selectId?: string | number;
42
+ /** Whether to automatically load data on initialization (default: true) */
43
+ autoLoad?: boolean;
44
+ /** Automatically select first item after initial load (default: false) */
45
+ autoSelectFirst?: boolean;
40
46
  template?: (item: any, index: number) => string | HTMLElement | any[] | Record<string, any>;
41
47
  collection?: {
42
48
  adapter?: any;