trilium
    Preparing search index...
    interface Root {
        contains(container: Element, contained: Element): boolean;
        html(options?: CheerioParserOptions): string;
        html(
            dom: string | Element | Cheerio,
            options?: CheerioParserOptions,
        ): string;
        parseHTML(
            data: string,
            context?: null | Document,
            keepScripts?: boolean,
        ): Document[];
        root(): Cheerio;
        xml(dom?: string | Element | Cheerio): string;
        (selector: string): Cheerio;
        (selector: string, context: string): Cheerio;
        (selector: string, context: Element): Cheerio;
        (selector: string, context: Element[]): Cheerio;
        (selector: string, context: Cheerio): Cheerio;
        (selector: string, context: string, root: string): Cheerio;
        (selector: string, context: Element, root: string): Cheerio;
        (selector: string, context: Element[], root: string): Cheerio;
        (selector: string, context: Cheerio, root: string): Cheerio;
        (selector: any): Cheerio;
    }

    Hierarchy (View Summary)

    • Parameters

      • selector: string

      Returns Cheerio

    • Parameters

      • selector: string
      • context: string

      Returns Cheerio

    • Parameters

      Returns Cheerio

    • Parameters

      Returns Cheerio

    • Parameters

      Returns Cheerio

    • Parameters

      • selector: string
      • context: string
      • root: string

      Returns Cheerio

    • Parameters

      • selector: string
      • context: Element
      • root: string

      Returns Cheerio

    • Parameters

      • selector: string
      • context: Element[]
      • root: string

      Returns Cheerio

    • Parameters

      • selector: string
      • context: Cheerio
      • root: string

      Returns Cheerio

    • Parameters

      • selector: any

      Returns Cheerio

    Index

    Methods

    • Parameters

      Returns boolean

    • Parameters

      • data: string
      • Optionalcontext: null | Document
      • OptionalkeepScripts: boolean

      Returns Document[]

    • Returns Cheerio

    • Parameters

      Returns string