UNPKG

@ynmstudio/utils

Version:
21 lines (18 loc) 747 B
import * as i0 from '@angular/core'; import { AfterViewInit, ElementRef } from '@angular/core'; declare class DrawBlurhash implements AfterViewInit { private platformId; private readonly canvas; blurhash?: string | null; get width(): number; get height(): number; constructor(platformId: Object, canvas: ElementRef<HTMLCanvasElement>); ngAfterViewInit(): void; WIDTH: number; HEIGHT: number; private decode?; private drawCanvas; static ɵfac: i0.ɵɵFactoryDeclaration<DrawBlurhash, never>; static ɵdir: i0.ɵɵDirectiveDeclaration<DrawBlurhash, "[drawBlurhash]", never, { "blurhash": { "alias": "blurhash"; "required": false; }; }, {}, never, never, true, never>; } export { DrawBlurhash };