youtubei.js / Misc / TextRun
Class: TextRun
Implements
Run
Constructors
new TextRun()
new TextRun(
data
):TextRun
Parameters
• data: RawNode
Returns
Defined in
src/parser/classes/misc/TextRun.ts:13
Properties
attachment
attachment:
any
Defined in
src/parser/classes/misc/TextRun.ts:11
bold
bold:
boolean
Defined in
src/parser/classes/misc/TextRun.ts:8
endpoint?
optional
endpoint:NavigationEndpoint
Defined in
src/parser/classes/misc/TextRun.ts:7
italics
italics:
boolean
Defined in
src/parser/classes/misc/TextRun.ts:9
strikethrough
strikethrough:
boolean
Defined in
src/parser/classes/misc/TextRun.ts:10
text
text:
string
Implementation of
Run.text
Defined in
src/parser/classes/misc/TextRun.ts:6
Methods
toHTML()
toHTML():
string
Returns
string
Implementation of
Run.toHTML
Defined in
src/parser/classes/misc/TextRun.ts:30
toString()
toString():
string
Returns
string
Implementation of
Run.toString