UNPKG

@ynmstudio/utils

Version:
18 lines (17 loc) 727 B
import { AfterViewInit, ElementRef } from '@angular/core'; import * as i0 from "@angular/core"; export 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>; }