Coursereader API - v0.1.0
    Preparing search index...

    Variable courseReaderConst

    courseReader: (
        source: string | HTMLElement,
        options?: CourseReaderPageOptions,
    ) => CourseReaderPage = createCourseReaderPage

    Alias for applications that prefer the library name.

    Type Declaration

      • (
            source: string | HTMLElement,
            options?: CourseReaderPageOptions,
        ): CourseReaderPage
      • Wraps an attached element in a live archive-scan treatment.

        The original element stays in the document and remains selectable and interactive. Call CourseReaderPage.destroy on the returned handle to restore it.

        Parameters

        • source: string | HTMLElement

          The element to wrap, or a selector for it.

        • options: CourseReaderPageOptions = {}

          Preset, overrides, seed and enhancement strategy.

        Returns CourseReaderPage

        A handle for updating and destroying the effect.

        When the source cannot be found or is not attached.

        const page = createCourseReaderPage("#document", {
        preset: "microfilm-journal",
        seed: 1971,
        });

    createCourseReaderPage