@dokieli/web-annotation - v1.0.1
    Preparing search index...

    Function restoreMarks

    • Parameters

      • container: Element
      • annotations: Annotation[]
      • Optionaloptions: {
            className?: string;
            excludeMatchesIn?: string;
            getAnnotationUrl?: (annotation: Annotation) => string | undefined;
            getId?: (annotation: Annotation) => string | undefined;
            getReference?: (annotation: Annotation) => string | undefined;
            ignoreSelector?: string;
        }
        • OptionalclassName?: string
        • OptionalexcludeMatchesIn?: string

          CSS selector; matches inside it are skipped

        • OptionalgetAnnotationUrl?: (annotation: Annotation) => string | undefined
        • OptionalgetId?: (annotation: Annotation) => string | undefined
        • OptionalgetReference?: (annotation: Annotation) => string | undefined
        • OptionalignoreSelector?: string

          CSS selector; matching subtrees omitted from the text basis

      Returns void