LWT JavaScript API
    Preparing search index...

    Book/chapter context for the reading screen's navigation, as returned by GET /texts/{id}/book-context. Null when the text is standalone.

    interface BookContext {
        bookId: number;
        bookTitle: string;
        chapterNum: number;
        chapters: BookChapter[];
        chapterTitle: string | null;
        nextTextId: number | null;
        prevTextId: number | null;
        totalChapters: number;
    }
    Index

    Properties

    bookId: number
    bookTitle: string
    chapterNum: number
    chapters: BookChapter[]
    chapterTitle: string | null
    nextTextId: number | null
    prevTextId: number | null
    totalChapters: number