trilium
Preparing search index...
Backend Script API
<internal>
Root
Interface Root
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
)
Selector
Root
CheerioAPI
Root
(
selector
:
string
)
:
Cheerio
Parameters
selector
:
string
Returns
Cheerio
Root
(
selector
:
string
,
context
:
string
)
:
Cheerio
Parameters
selector
:
string
context
:
string
Returns
Cheerio
Root
(
selector
:
string
,
context
:
Element
)
:
Cheerio
Parameters
selector
:
string
context
:
Element
Returns
Cheerio
Root
(
selector
:
string
,
context
:
Element
[]
)
:
Cheerio
Parameters
selector
:
string
context
:
Element
[]
Returns
Cheerio
Root
(
selector
:
string
,
context
:
Cheerio
)
:
Cheerio
Parameters
selector
:
string
context
:
Cheerio
Returns
Cheerio
Root
(
selector
:
string
,
context
:
string
,
root
:
string
)
:
Cheerio
Parameters
selector
:
string
context
:
string
root
:
string
Returns
Cheerio
Root
(
selector
:
string
,
context
:
Element
,
root
:
string
)
:
Cheerio
Parameters
selector
:
string
context
:
Element
root
:
string
Returns
Cheerio
Root
(
selector
:
string
,
context
:
Element
[]
,
root
:
string
)
:
Cheerio
Parameters
selector
:
string
context
:
Element
[]
root
:
string
Returns
Cheerio
Root
(
selector
:
string
,
context
:
Cheerio
,
root
:
string
)
:
Cheerio
Parameters
selector
:
string
context
:
Cheerio
root
:
string
Returns
Cheerio
Root
(
selector
:
any
)
:
Cheerio
Parameters
selector
:
any
Returns
Cheerio
Index
Methods
contains
html
parseHTML
root
xml
Methods
contains
contains
(
container
:
Element
,
contained
:
Element
)
:
boolean
Parameters
container
:
Element
contained
:
Element
Returns
boolean
html
html
(
options
?:
CheerioParserOptions
)
:
string
Parameters
Optional
options
:
CheerioParserOptions
Returns
string
html
(
dom
:
string
|
Element
|
Cheerio
,
options
?:
CheerioParserOptions
)
:
string
Parameters
dom
:
string
|
Element
|
Cheerio
Optional
options
:
CheerioParserOptions
Returns
string
parseHTML
parseHTML
(
data
:
string
,
context
?:
null
|
Document
,
keepScripts
?:
boolean
,
)
:
Document
[]
Parameters
data
:
string
Optional
context
:
null
|
Document
Optional
keepScripts
:
boolean
Returns
Document
[]
root
root
()
:
Cheerio
Returns
Cheerio
xml
xml
(
dom
?:
string
|
Element
|
Cheerio
)
:
string
Parameters
Optional
dom
:
string
|
Element
|
Cheerio
Returns
string
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
On This Page
Methods
contains
html
parseHTML
root
xml
trilium
Loading...