UNPKG

@alegendstale/holly-components

Version:

Reusable UI components created using lit

21 lines 712 B
import { Direction } from '../color-palette/color-palette-utils.js'; import { CanvasBase } from './canvas-base.js'; import { PropertyValues } from 'lit'; export declare class CanvasGradient extends CanvasBase { static styles: import("lit").CSSResult[]; colors: string[]; height: number; width: number; direction: Direction; protected updated(_changedProperties: PropertyValues): void; /** * Creates a new gradient canvas */ createGradient(colors: string[], height: number, width: number, direction: Direction): void; } declare global { interface HTMLElementTagNameMap { 'canvas-gradient': CanvasGradient; } } //# sourceMappingURL=canvas-gradient.d.ts.map