Options
All
  • Public
  • Public/Protected
  • All
Menu

Represents an item within a ReaderPublicationNavigationCollection. The type of ReaderPublicationNavigationCollection dictates the type of content in the item.

Hierarchy

Index

Methods

  • getHref(): string
  • Returns the "href" for this publication navigation item if it does not target any location within the publication.

    The href can for example refer to an external website (https://) , or an email address (mailto:)

    This method always returns null if isTargetingReaderDocumentInSpine() returns true.

    Returns string

  • getId(): number
  • An identifier for this item, unique within the publication.

    Returns number

  • The locator this navigation item points to.

    deprecated

    in 4.0.0. Please use the item directly with methods that accepts locators instead. For example: IReaderView.goTo(navigationItem)

    Returns Locator

  • getTextContent(): string
  • The contents of this item as text.

    Returns string

  • isTargetingReaderDocumentInSpine(): boolean
  • If the locator is targeting content within the publication.

    Returns boolean

Generated using TypeDoc