Hierarchy (view full)

Constructors

Properties

__jsonld: any
_thumbnails: null | Thumbnail[] = null
context: string
externalResource: IExternalResource
id: string
items: Canvas[] = []

Methods

  • Parameters

    • canvasIndex: number

    Returns any

  • Parameters

    • id: string

    Returns null | number

  • Parameters

    • label: string
    • Optional foliated: boolean

    Returns number

  • returns the PropertyValue which in turn allows a language-specific string encoded in the json as the "label" property

    Returns PropertyValue

    Example

    var label = manifest.getLabel().getValue(); // returns the string for default locale
    

    Example

    var label = manifest.getLabel().getValue(locale); // locale a string , examples
    // would be "fr", "en-US",
  • Parameters

    • Optional alphanumeric: boolean

    Returns string

  • Parameters

    • canvasIndex: number
    • Optional pagingEnabled: boolean

    Returns number

  • Parameters

    • canvasIndex: number
    • Optional pagingEnabled: boolean

    Returns number[]

  • Parameters

    • canvasIndex: number
    • Optional pagingEnabled: boolean

    Returns number

  • A function that wraps the getProperty function, which client code can use if it is needed to identify when the json value of a property is an IRI -- Internationalized Resource Identifier

    If the value of the json value is a bare string, then it will be wrapped in a json object with the string in the property 'id', additionally that property will have a property 'isIRI' which will be true for the literal string case, otherwise false meaning the returned getProperty should be parsed as before.

    Parameters

    • name: string

    Returns any

  • Returns null | ViewingDirection

  • Parameters

    • canvasIndex: number

    Returns boolean

  • Parameters

    • canvasIndex: number

    Returns boolean

  • Parameters

    • canvasIndex: number

    Returns boolean