Options
All
  • Public
  • Public/Protected
  • All
Menu

Class Sequence

Hierarchy

Index

Constructors

constructor

Properties

__jsonld

__jsonld: any

Private _thumbnails

_thumbnails: Thumbnail[] | null = null

context

context: string

externalResource

externalResource: IExternalResource

id

id: string

items

items: Canvas[] = []

options

Methods

getCanvasById

  • getCanvasById(id: string): Canvas | null

getCanvasByIndex

  • getCanvasByIndex(canvasIndex: number): any
  • Parameters

    • canvasIndex: number

    Returns any

getCanvasIndexById

  • getCanvasIndexById(id: string): number | null
  • Parameters

    • id: string

    Returns number | null

getCanvasIndexByLabel

  • getCanvasIndexByLabel(label: string, foliated?: undefined | false | true): number
  • Parameters

    • label: string
    • Optional foliated: undefined | false | true

    Returns number

getCanvases

getDefaultLabel

  • getDefaultLabel(): string | null

getIIIFResourceType

  • getIIIFResourceType(): IIIFResourceType

getLabel

getLastCanvasLabel

  • getLastCanvasLabel(alphanumeric?: undefined | false | true): string
  • Parameters

    • Optional alphanumeric: undefined | false | true

    Returns string

getLastPageIndex

  • getLastPageIndex(): number

getMetadata

getNextPageIndex

  • getNextPageIndex(canvasIndex: number, pagingEnabled?: undefined | false | true): number
  • Parameters

    • canvasIndex: number
    • Optional pagingEnabled: undefined | false | true

    Returns number

getPagedIndices

  • getPagedIndices(canvasIndex: number, pagingEnabled?: undefined | false | true): number[]
  • Parameters

    • canvasIndex: number
    • Optional pagingEnabled: undefined | false | true

    Returns number[]

getPrevPageIndex

  • getPrevPageIndex(canvasIndex: number, pagingEnabled?: undefined | false | true): number
  • Parameters

    • canvasIndex: number
    • Optional pagingEnabled: undefined | false | true

    Returns number

getProperty

  • getProperty(name: string): any

getRendering

  • getRendering(format: RenderingFormat): Rendering | null

getRenderings

getService

  • getService(profile: ServiceProfile): Service | null

getServices

getStartCanvas

  • getStartCanvas(): string

getStartCanvasIndex

  • getStartCanvasIndex(): number

getThumbnail

getThumbnails

getThumbs

  • getThumbs(width: number, height?: undefined | number): Thumb[]
  • Parameters

    • width: number
    • Optional height: undefined | number

    Returns Thumb[]

getTotalCanvases

  • getTotalCanvases(): number

getViewingDirection

  • getViewingDirection(): ViewingDirection | null

getViewingHint

  • getViewingHint(): ViewingHint | null

isAnnotation

  • isAnnotation(): boolean

isCanvas

  • isCanvas(): boolean

isCanvasIndexOutOfRange

  • isCanvasIndexOutOfRange(canvasIndex: number): boolean
  • Parameters

    • canvasIndex: number

    Returns boolean

isCollection

  • isCollection(): boolean

isFirstCanvas

  • isFirstCanvas(canvasIndex: number): boolean
  • Parameters

    • canvasIndex: number

    Returns boolean

isLastCanvas

  • isLastCanvas(canvasIndex: number): boolean
  • Parameters

    • canvasIndex: number

    Returns boolean

isManifest

  • isManifest(): boolean

isMultiCanvas

  • isMultiCanvas(): boolean

isPagingEnabled

  • isPagingEnabled(): boolean

isRange

  • isRange(): boolean

isSequence

  • isSequence(): boolean

isTotalCanvasesEven

  • isTotalCanvasesEven(): boolean

Generated using TypeDoc