Colibrio Reader Framework API - Cloud license
    Preparing search index...

    Interface ISimpleLocatorData

    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;
    }
    interface ISimpleLocatorData {
        selectors: string[];
        sourceUrl: string;
    }

    Properties

    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.

    1

    sourceUrl: string

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

    0