GeoLeaf Core API - v3.0.0
Preparing search index...
kernel/security/escaping
SafeElementOptions
Interface SafeElementOptions
Description
HTML escaping and safe DOM element creation.
interface
SafeElementOptions
{
className
?:
string
;
id
?:
string
;
textContent
?:
string
;
attributes
?:
Record
<
string
,
string
>
;
children
?:
Element
[]
;
}
Index
Properties
class
Name?
id?
text
Content?
attributes?
children?
Properties
Optional
class
Name
className
?:
string
Optional
id
id
?:
string
Optional
text
Content
textContent
?:
string
Optional
attributes
attributes
?:
Record
<
string
,
string
>
Optional
children
children
?:
Element
[]
Settings
Member Visibility
Protected
Inherited
Theme
OS
Light
Dark
On This Page
Properties
class
Name
id
text
Content
attributes
children
GeoLeaf Core API - v3.0.0
Loading...
Description
HTML escaping and safe DOM element creation.