Image alt text
Use Closed.
The same emitter under the old binding name, so a template still binding (closed) keeps working. Must stay AFTER Closed: class fields initialise in order, and the other way round this captures undefined.
Emits when the viewer should be closed
Image filename for download
Image source URL (can be data URL or regular URL)
Whether the viewer is visible
Use Alt.
Use FileName.
Use ImageTransform.
Get transform style for image
Use ImageUrl.
Use IsDragging.
Use MaxZoom.
Use MinZoom.
Use TranslateX.
Use TranslateY.
Use Visible.
Use ZoomLevel.
Use ZoomPercentage.
Get current zoom percentage for display
Close the viewer
Use DownloadImage.
Download the image
Use FitToScreen.
Fit image to screen
A callback method that performs custom clean-up, invoked immediately before a directive, pipe, or service instance is destroyed.
A callback method that is invoked immediately after the default change detector has checked the directive's data-bound properties for the first time, and before any of the view or content children have been checked. It is invoked only once when the directive is instantiated.
Handle backdrop click
Handle escape key to close
Handle mouse down for dragging
Handle mouse move for dragging
Handle mouse up to stop dragging
Handle mouse wheel for zoom
Use ResetZoom.
Reset to 100% zoom
Use ZoomIn.
Zoom in
Use ZoomOut.
Zoom out
Full-screen image viewer modal with zoom and pan capabilities. Provides a lightbox-style experience for viewing attachment images.