Callable
- __call(selector: string): Cheerio
- __call(selector: string, context: string): Cheerio
- __call(selector: string, context: Element): Cheerio
- __call(selector: string, context: Element[]): Cheerio
- __call(selector: string, context: Cheerio): Cheerio
- __call(selector: string, context: string, root: string): Cheerio
- __call(selector: string, context: Element, root: string): Cheerio
- __call(selector: string, context: Element[], root: string): Cheerio
- __call(selector: string, context: Cheerio, root: string): Cheerio
- __call(selector: unknown): Cheerio
-
Parameters
-
Parameters
-
selector: string
-
context: string
-
Parameters
-
Parameters
-
Parameters
-
Parameters
-
selector: string
-
context: string
-
root: string
-
Parameters
-
selector: string
-
-
root: string
-
Parameters
-
selector: string
-
-
root: string
-
Parameters
-
selector: string
-
-
root: string
-
Parameters
Methods
contains
-
Parameters
Returns boolean
html
-
Parameters
Returns string
-
Parameters
Returns string
parseHTML
- parseHTML(data: string, context?: Document, keepScripts?: boolean): Document[]
-
Parameters
-
data: string
-
Optional context: Document
-
Optional keepScripts: boolean
Returns Document[]
xml
-
Parameters
Returns string