Options
All
  • Public
  • Public/Protected
  • All
Menu

Used for referencing specific locations (including ranges) in publications.

Can be transformed into a valid URL by:

let url: string;
if (selectors.length > 0) {
url = sourceUrl + '#' + selectors[0];
} else {
url = sourceUrl;
}

Hierarchy

  • ISimpleLocatorData

Index

Properties

selectors

selectors: string[]

The selectors for this locator. Multiple selectors should select the same content, however some selectors will not have the same precision as others. The first selector in the array has the highest precision.

nativeparamindex

1

sourceUrl

sourceUrl: string

Returns the URL of the locator without the hash fragment part if any.

nativeparamindex

0

Generated using TypeDoc