UNPKG

mithril-materialized

Version:
15 lines (14 loc) 499 B
import { FactoryComponent, Attributes } from 'mithril'; export interface ParallaxAttrs extends Attributes { /** Enable responsive parallax (disable on mobile for performance) */ responsiveThreshold?: number; /** Image source */ src: string; /** Alt text for the image */ alt?: string; } /** * MaterializeCSS Parallax component with dynamic positioning * Port of the original MaterializeCSS parallax logic */ export declare const Parallax: FactoryComponent<ParallaxAttrs>;