import { CssTime } from '@breadstone/mosaik-themes'; import { ISlottable } from '../../../Behaviors/Slottable'; import { CustomElement } from '../../Abstracts/CustomElement'; import { IMarqueeElementProps } from './IMarqueeElementProps'; declare const MarqueeElement_base: (abstract new (...args: Array) => import("../../../Behaviors/Themeable").IThemeableProps) & (abstract new (...args: Array) => import("../../../Behaviors/Reversible").IReversibleProps) & (abstract new (...args: Array) => import("../../../Behaviors/Orientable").IOrientableProps) & (abstract new (...args: Array) => import("../../../Behaviors/Slottable").ISlottableProps & ISlottable) & typeof CustomElement & import("../../../Behaviors/Themeable").IThemeableCtor; /** * Marquee - A component for scrolling text or images horizontally or vertically. * * @description * The Marquee component enables scrolling of text or images across a web page. It can be configured to scroll content * either horizontally or vertically, providing a dynamic and attention-grabbing effect. Marquees are often used to * highlight important information or create visual interest. * * @element mosaik-marquee * @category Primitives * * @slot - The default slot. * * @csspart overlay - The overlay part. * @csspart track - The track part. * * @cssprop {String} --marquee-direction - The direction CSS custom property. * @cssprop {String} --marquee-font-family - The font family CSS custom property. * @cssprop {String} --marquee-font-letter-spacing - The font letter spacing CSS custom property. * @cssprop {String} --marquee-font-line-height - The font line height CSS custom property. * @cssprop {String} --marquee-font-size - The font size CSS custom property. * @cssprop {String} --marquee-font-text-decoration - The font text decoration CSS custom property. * @cssprop {String} --marquee-font-text-transform - The font text transform CSS custom property. * @cssprop {String} --marquee-font-weight - The font weight CSS custom property. * @cssprop {String} --marquee-gap - The gap CSS custom property. * @cssprop {String} --marquee-padding-bottom - The padding bottom CSS custom property. * @cssprop {String} --marquee-padding-left - The padding left CSS custom property. * @cssprop {String} --marquee-padding-right - The padding right CSS custom property. * @cssprop {String} --marquee-padding-top - The padding top CSS custom property. * @cssprop {String} --marquee-shadow - The shadow CSS custom property. * @cssprop {String} --marquee-shadow-blur - The shadow blur CSS custom property. * @cssprop {String} --marquee-shadow-color - The shadow color CSS custom property. * @cssprop {String} --marquee-shadow-offset-x - The shadow offset x CSS custom property. * @cssprop {String} --marquee-shadow-offset-y - The shadow offset y CSS custom property. * @cssprop {String} --marquee-shadow-spread - The shadow spread CSS custom property. * @cssprop {String} --marquee-speed - The speed CSS custom property. * @cssprop {String} --marquee-transition-duration - The transition duration CSS custom property. * @cssprop {String} --marquee-transition-mode - The transition mode CSS custom property. * @cssprop {String} --marquee-transition-property - The transition property CSS custom property. * @cssprop {String} --marquee-translate - The translate CSS custom property. * * @example * ```html * *
Scrolling text or images
*
* ``` * * @public */ export declare class MarqueeElement extends MarqueeElement_base implements IMarqueeElementProps, ISlottable { private readonly _inlineStyleController; private _speed; /** * @public */ constructor(); /** * Returns the `is` property. * The `is` property represents natural name of this element. * * @public * @static * @readonly */ static get is(): string; /** * Gets or sets the `speed` property. * * @public * @attr */ get speed(): CssTime; set speed(value: CssTime); /** * Called when the slot content changes. * Clones the slotted content into the duplicate group for seamless infinite scrolling. * * @param slotName - The name of the slot that changed. * * @public * @override */ onSlotChanges(slotName?: string): void; /** * Duplicates the slotted content into the clone container * to achieve a seamless infinite marquee loop. * * @private */ private duplicateContent; } /** * @public */ export declare namespace MarqueeElement { type Props = IMarqueeElementProps; } /** * @public */ declare global { interface HTMLElementTagNameMap { 'mosaik-marquee': MarqueeElement; } } export {}; //# sourceMappingURL=MarqueeElement.d.ts.map