docs/Script API/interfaces/Backend_Script_API._internal_.Root.html
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;
}
Root(selector: string): Cheerio
Root(selector: string, context: string): Cheerio
Root(selector: string, context: Element): Cheerio
Root(selector: string, context: Element[]): Cheerio
Root(selector: string, context: Cheerio): Cheerio
Root(selector: string, context: string, root: string): Cheerio
Root(selector: string, context: Element, root: string): Cheerio
Root(selector: string, context: Element[], root: string): Cheerio
Root(selector: string, context: Cheerio, root: string): Cheerio
Root(selector: any): Cheerio
contains(container: Element, contained: Element): boolean
html(options?: CheerioParserOptions): string
Optionaloptions: CheerioParserOptionshtml(dom: string | Element | Cheerio, options?: CheerioParserOptions): string
Optionaloptions: CheerioParserOptionsparseHTML(
data: string,
context?: null | Document,
keepScripts?: boolean,
): Document[]
Optionalcontext: null | DocumentOptionalkeepScripts: booleanroot(): Cheerio
xml(dom?: string | Element | Cheerio): string
Member Visibility
ThemeOSLightDark