NgDocMagnifierComponent
Lets the user pan its content by dragging and zoom it with the mouse wheel. Use for buttons that do the same.
- Decorators
@Component - Selectors
ng-doc-magnifier - Implements
OnInit
DeclarationTypeScript
@Component ({ … })
export class NgDocMagnifierComponent implements OnInit { … }Members
Properties8 | |||||||
destroyRef: | — | ||||||
document: Document | — | ||||||
drag: | — | ||||||
element: HTMLElement | — | ||||||
scale: | — | ||||||
transform: | — | ||||||
x: | — | ||||||
y: | — | ||||||
Methods5 | |||||||
(…): void | Moves the content horizontally. | ||||||
Signature Parameters
Returns void | |||||||
(…): void | Moves the content vertically. | ||||||
Signature Parameters
Returns void | |||||||
(): void | — | ||||||
Signature Returns void | |||||||
(): void | Resets the position and the scale. | ||||||
Signature Returns void | |||||||
(…): void | Zooms in (positive | ||||||
Signature Parameters
Returns void | |||||||
No members match.