@ng-doc/ui-kit
Version:
<!-- PROJECT LOGO --> <br /> <div align="center"> <a href="https://github.com/ng-doc/ng-doc"> <img src="https://ng-doc.com/assets/images/ng-doc.svg?raw=true" alt="Logo" height="150px"> </a>
25 lines (22 loc) • 1.1 kB
TypeScript
import * as _angular_core from '@angular/core';
import { OnInit, NgZone, DestroyRef } from '@angular/core';
declare class NgDocMagnifierComponent implements OnInit {
protected readonly x: _angular_core.WritableSignal<number>;
protected readonly y: _angular_core.WritableSignal<number>;
protected readonly scale: _angular_core.WritableSignal<number>;
protected readonly transform: _angular_core.Signal<string>;
protected readonly drag: _angular_core.WritableSignal<boolean>;
protected readonly document: Document;
protected readonly element: HTMLElement;
protected readonly ngZone: NgZone;
protected readonly destroyRef: DestroyRef;
constructor();
ngOnInit(): void;
incrementX(x: number): void;
incrementY(y: number): void;
zoom(diff: number): void;
reset(): void;
static ɵfac: _angular_core.ɵɵFactoryDeclaration<NgDocMagnifierComponent, never>;
static ɵcmp: _angular_core.ɵɵComponentDeclaration<NgDocMagnifierComponent, "ng-doc-magnifier", never, {}, {}, never, ["*"], true, never>;
}
export { NgDocMagnifierComponent };