GemBox.PdfViewer
  • Overview
  • Examples
  • Free version
  • Support
  • Pricelist

    Show / Hide Table of Contents

    PageEventMap Interface

    Namespace:
    @gembox/pdfviewer
    Assembly:
    @gembox/pdfviewer

    PageEventMap is an interface used to provide type-safe event listeners and is not instantiated or used directly. It maps event names to their corresponding event object types and is consumed by addEventListener to ensure correct typing of listener callbacks.

    • TypeScript
    export declare interface PageEventMap
    Remarks

    This interface defines the structure of events that can be emitted by the Page class, specifically the pageChanging event which is triggered when the current page is about to change.

    Fields

    pageChanging

    Event triggered when the current page is about to change.

    • TypeScript
    pageChanging: PageChangingEvent;
    Field Value
    PageChangingEvent
    Remarks

    This event is emitted before navigating to a new page, allowing listeners to cancel or modify the navigation. The event contains information about both the previous and target pages.

    Back to top

    Facebook • Twitter • LinkedIn

    © GemBox Ltd. — All rights reserved.