/** * Metadata para val-load-more. */ export interface LoadMoreMetadata { /** Muestra spinner y deshabilita el boton/scroll mientras es true. */ loading?: boolean; /** Si es false, oculta el componente (no hay mas items). Default: true. */ hasMore?: boolean; /** Modo de carga. Default: 'button'. */ mode?: 'button' | 'infinite'; /** Texto del boton. Default: i18n 'Cargar mas' / 'Load more'. */ label?: string; /** Color Ionic del boton. Default: 'dark'. */ color?: string; /** Fill del boton. Default: 'outline'. */ fill?: string; /** Shape del boton. Default: 'round'. */ shape?: string; /** Size del boton. Default: 'small'. */ size?: 'small' | 'default' | 'large'; /** Umbral de scroll para modo 'infinite'. Default: '100px'. */ threshold?: string; }