Member Junction
    Preparing search index...

    Full-screen image viewer modal with zoom and pan capabilities. Provides a lightbox-style experience for viewing attachment images.

    Implements

    • OnInit
    • OnDestroy
    Index

    Constructors

    Properties

    Alt: string = 'Image'

    Image alt text

    closed: EventEmitter<void> = ...

    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.

    Closed: EventEmitter<void> = ...

    Emits when the viewer should be closed

    FileName: string = 'image'

    Image filename for download

    ImageUrl: string = ''

    Image source URL (can be data URL or regular URL)

    IsDragging: boolean = false
    MaxZoom: number = 5
    MinZoom: number = 0.1
    TranslateX: number = 0
    TranslateY: number = 0
    Visible: boolean = false

    Whether the viewer is visible

    ZoomLevel: number = 1

    Accessors

    Methods