UNPKG

@sahabaplus/mushaf-engine

Version:

TypeScript implementation of a Quran Mushaf navigation engine

13 lines (12 loc) 388 B
import { Verse } from "../mushaf"; /** * A verse resolved in the mushaf together with its page placement. */ export interface VerseLocation { /** The verse instance from the mushaf layout */ verse: Verse; /** 1-based page number in this mushaf */ pageNumber: number; /** 0-based index of this verse in that page's `verses()` array */ verseIndexOnPage: number; }