@likecoin/epub-ts
    Preparing search index...

    Interface RenditionEvents

    Displays an Epub as a series of Views for each Section. Requires Manager and View class to handle specifics of rendering the section content.

    class for the cfi parser to ignore

    layout to force

    force spread value

    overridden by spread: none (never) / both (always)

    url of stylesheet to be injected

    false to disable orientation events

    url of script to be injected

    use snap scrolling

    default text direction

    enable running scripts in content

    enable opening popup in content

    interface RenditionEvents {
        attached: [];
        displayed: [Section | undefined];
        displayerror: [Error];
        layout: [LayoutProps, Partial<LayoutProps>];
        locationChanged: [
            {
                end: string;
                href: string;
                index: number;
                percentage: number
                | undefined;
                start: string;
            },
        ];
        markClicked: [string, object | undefined, Contents];
        orientationchange: [number];
        relocated: [Location];
        removed: [Section, IframeView];
        rendered: [Section, IframeView];
        resized: [{ height: number; width: number }, string?];
        selected: [string, Contents];
        started: [];
        [key: string]: any[];
    }

    Hierarchy

    • Record<string, any[]>
      • RenditionEvents

    Indexable

    • [key: string]: any[]
    Index

    Properties

    attached: []
    displayed: [Section | undefined]
    displayerror: [Error]
    layout: [LayoutProps, Partial<LayoutProps>]
    locationChanged: [
        {
            end: string;
            href: string;
            index: number;
            percentage: number
            | undefined;
            start: string;
        },
    ]
    markClicked: [string, object | undefined, Contents]
    orientationchange: [number]
    relocated: [Location]
    removed: [Section, IframeView]
    rendered: [Section, IframeView]
    resized: [{ height: number; width: number }, string?]
    selected: [string, Contents]
    started: []