Search
Preparing search index...
The search index is not available
SavageDOM
Options
All
Public
Public/Protected
All
Inherited
Externals
Only exported
Menu
Globals
TextContent
Class TextContent
Hierarchy
TextContent
Implements
Attribute
<
TextContent
>
Index
Constructors
constructor
Properties
_cb
Methods
get
interpolator
parse
set
to
String
escape
Html
Constructors
constructor
new
Text
Content
(
str
:
string
)
:
TextContent
new
Text
Content
(
cb
:
function
)
:
TextContent
Parameters
str:
string
Returns
TextContent
Parameters
cb:
function
(
)
:
string
Returns
string
Returns
TextContent
Properties
Private
_cb
_cb
:
function
Type declaration
(
)
:
string
Returns
string
Methods
get
get<Attrs, A>
(
element
:
SVGElement
, attr
:
A
)
:
TextContent
Type parameters
Attrs
A
:
keyof Attrs
Parameters
element:
SVGElement
attr:
A
Returns
TextContent
interpolator
interpolator
(
from
:
TextContent
)
:
function
Parameters
from:
TextContent
Returns
function
(
t
:
number
)
:
TextContent
Parameters
t:
number
Returns
TextContent
parse
parse
(
css
:
string
|
null
)
:
TextContent
Parameters
css:
string
|
null
Returns
TextContent
set
set<Attrs, A>
(
element
:
SVGElement
, attr
:
A
, override
?:
TextContent
)
:
void
Type parameters
Attrs
A
:
keyof Attrs
Parameters
element:
SVGElement
attr:
A
Optional
override:
TextContent
Returns
void
to
String
to
String
(
)
:
string
Returns
string
Static
Private
escape
Html
escape
Html
(
html
:
string
)
:
string
Parameters
html:
string
Returns
string
Globals
Text
Content
constructor
_cb
get
interpolator
parse
set
to
String
escape
Html
Generated using
TypeDoc