toggle menu
korge-root
5.1.0
common
switch theme
search in API
korge-core
/
korlibs.image.style
/
DOM
/
DomElement
Dom
Element
open
class
DomElement
(
val
dom
:
DOM
,
val
mappings
:
DOM.DomPropertyMapping
?
=
null
)
Inheritors
SvgElement
Members
Constructors
Dom
Element
Link copied to clipboard
constructor
(
dom
:
DOM
,
mappings
:
DOM.DomPropertyMapping
?
=
null
)
Properties
class
Names
Link copied to clipboard
val
classNames
:
Set
<
String
>
dom
Link copied to clipboard
val
dom
:
DOM
id
Link copied to clipboard
var
id
:
String
?
mappings
Link copied to clipboard
val
mappings
:
DOM.DomPropertyMapping
?
=
null
Functions
add
Class
Name
Link copied to clipboard
fun
addClassName
(
name
:
String
)
add
Class
Names
Link copied to clipboard
fun
addClassNames
(
vararg
names
:
String
)
remove
Class
Name
Link copied to clipboard
fun
removeClassName
(
name
:
String
)
remove
Class
Names
Link copied to clipboard
fun
removeClassNames
(
vararg
names
:
String
)
set
Property
Link copied to clipboard
open
fun
setProperty
(
prop
:
String
,
value
:
Any
?
)
set
Property
Interpolated
Link copied to clipboard
fun
setPropertyInterpolated
(
result
:
CSS.InterpolationResult
)