Gjsify LogoGjsify Logo

Hierarchy

  • Link

Index

Constructors

Properties

name: string

Methods

  • belongsToPage(pageId: string): boolean
  • This function permits to know if link belongs to a certain page.

    page_id is usually the HTML filename without the .html extension. More generally, page_id must be a relative URL (relative to the book base path), without the anchor nor the file extension.

    For example if link has the relative URL "DhLink.html#dh-link-ref", then this function will return %TRUE if the page_id is "DhLink".

    Parameters

    • pageId: string

      a page ID, i.e. the filename without its extension.

    Returns boolean

  • Compares the links a and b. This function is used to determine in which order the links should be displayed.

    Parameters

    Returns number

  • getBookId(): string
  • getBookTitle(): string
  • getName(): string
  • getUri(): string
  • Gets the link URI, by concateneting the book base path with the link relative URL.

    Returns string

  • matchRelativeUrl(relativeUrl: string): boolean
  • unref(): void
  • newBook(basePath: string, bookId: string, bookTitle: string, relativeUrl: string): Devhelp.Link

Legend

  • Module
  • Object literal
  • Variable
  • Function
  • Function with type parameter
  • Index signature
  • Type alias
  • Type alias with type parameter
  • Enumeration
  • Enumeration member
  • Property
  • Method
  • Interface
  • Interface with type parameter
  • Constructor
  • Property
  • Method
  • Index signature
  • Class
  • Class with type parameter
  • Constructor
  • Property
  • Method
  • Accessor
  • Index signature
  • Inherited constructor
  • Inherited property
  • Inherited method
  • Inherited accessor
  • Protected property
  • Protected method
  • Protected accessor
  • Private property
  • Private method
  • Private accessor
  • Static property
  • Static method