UNPKG

@sandlada/mdc

Version:

@sandlada/mdc is an open source component library that follows the Material Design 3 design specifications.

37 lines 1 kB
import { BaseWave } from './base-wave'; declare global { interface HTMLElementTagNameMap { "mdc-circular": CircularWave; } } export declare class CircularWave extends BaseWave { /** * The base radius of the circle around which the wave oscillates. */ radius: number; /** * The number of waves (crests) around the circle's circumference. */ waveCount: number; /** * Animation speed. */ speed: number; /** * The current phase shift of the wave. */ phase: number; private _canvas; private _ctx; private _resizeObserver; private _animationFrameId; connectedCallback(): void; disconnectedCallback(): void; protected updated(changedProperties: Map<string, unknown>): void; private _drawWave; private _drawPerfectCircle; private _animate; static styles: import("lit").CSSResult; render(): import("lit-html").TemplateResult<1>; } //# sourceMappingURL=circular-wave.d.ts.map