SVGElement
abstract class SVGElement :
Element,
ElementCSSInlineStyle,
GlobalEventHandlers,
SVGElementInstance
Exposes the JavaScript SVGElement to Kotlin
Constructors
<init>
Exposes the JavaScript SVGElement to Kotlin
SVGElement()
Properties
dataset
open val dataset: DOMStringMap
ownerSVGElement
open val ownerSVGElement: SVGSVGElement?
tabIndex
open var tabIndex: Int
viewportElement
open val viewportElement: SVGElement?
Functions
Companion Object Properties
ATTRIBUTE_NODE
val ATTRIBUTE_NODE: Short
CDATA_SECTION_NODE
val CDATA_SECTION_NODE: Short
COMMENT_NODE
val COMMENT_NODE: Short
DOCUMENT_FRAGMENT_NODE
val DOCUMENT_FRAGMENT_NODE: Short
DOCUMENT_NODE
val DOCUMENT_NODE: Short
DOCUMENT_POSITION_CONTAINED_BY
val DOCUMENT_POSITION_CONTAINED_BY: Short
DOCUMENT_POSITION_CONTAINS
val DOCUMENT_POSITION_CONTAINS: Short
DOCUMENT_POSITION_DISCONNECTED
val DOCUMENT_POSITION_DISCONNECTED: Short
DOCUMENT_POSITION_FOLLOWING
val DOCUMENT_POSITION_FOLLOWING: Short
DOCUMENT_POSITION_IMPLEMENTATION_SPECIFIC
val DOCUMENT_POSITION_IMPLEMENTATION_SPECIFIC: Short
DOCUMENT_POSITION_PRECEDING
val DOCUMENT_POSITION_PRECEDING: Short
DOCUMENT_TYPE_NODE
val DOCUMENT_TYPE_NODE: Short
ELEMENT_NODE
val ELEMENT_NODE: Short
ENTITY_NODE
val ENTITY_NODE: Short
ENTITY_REFERENCE_NODE
val ENTITY_REFERENCE_NODE: Short
NOTATION_NODE
val NOTATION_NODE: Short
PROCESSING_INSTRUCTION_NODE
val PROCESSING_INSTRUCTION_NODE: Short
TEXT_NODE
val TEXT_NODE: Short
Extension Properties
Extension Functions
addClass
Adds CSS class to element. Has no effect if all specified classes are already in class attribute of the element
fun Element.addClass(vararg cssClasses: String): Boolean
hasClass
Returns true if the element has the given CSS class style in its 'class' attribute
fun Element.hasClass(cssClass: String): Boolean
removeClass
Removes all cssClasses from element. Has no effect if all specified classes are missing in class attribute of the element
fun Element.removeClass(vararg cssClasses: String): Boolean
Inheritors
SVGClipPathElement
Exposes the JavaScript SVGClipPathElement to Kotlin
abstract class SVGClipPathElement : SVGElement, SVGUnitTypes
SVGCursorElement
Exposes the JavaScript SVGCursorElement to Kotlin
abstract class SVGCursorElement : SVGElement, SVGURIReference
SVGDescElement
Exposes the JavaScript SVGDescElement to Kotlin
abstract class SVGDescElement : SVGElement
SVGGradientElement
Exposes the JavaScript SVGGradientElement to Kotlin
abstract class SVGGradientElement :
SVGElement,
SVGURIReference,
SVGUnitTypes
SVGGraphicsElement
Exposes the JavaScript SVGGraphicsElement to Kotlin
abstract class SVGGraphicsElement : SVGElement, SVGTests
SVGHatchElement
abstract class SVGHatchElement : SVGElement
SVGHatchpathElement
abstract class SVGHatchpathElement : SVGElement
SVGMarkerElement
abstract class SVGMarkerElement : SVGElement, SVGFitToViewBox
SVGMaskElement
Exposes the JavaScript SVGMaskElement to Kotlin
abstract class SVGMaskElement : SVGElement, SVGUnitTypes
SVGMeshpatchElement
abstract class SVGMeshpatchElement : SVGElement
SVGMeshrowElement
abstract class SVGMeshrowElement : SVGElement
SVGMetadataElement
Exposes the JavaScript SVGMetadataElement to Kotlin
abstract class SVGMetadataElement : SVGElement
SVGPatternElement
Exposes the JavaScript SVGPatternElement to Kotlin
abstract class SVGPatternElement :
SVGElement,
SVGFitToViewBox,
SVGURIReference,
SVGUnitTypes
SVGScriptElement
Exposes the JavaScript SVGScriptElement to Kotlin
abstract class SVGScriptElement :
SVGElement,
SVGURIReference,
HTMLOrSVGScriptElement
SVGSolidcolorElement
Exposes the JavaScript SVGSolidcolorElement to Kotlin
abstract class SVGSolidcolorElement : SVGElement
SVGStopElement
Exposes the JavaScript SVGStopElement to Kotlin
abstract class SVGStopElement : SVGElement
SVGStyleElement
Exposes the JavaScript SVGStyleElement to Kotlin
abstract class SVGStyleElement : SVGElement, LinkStyle
SVGTitleElement
Exposes the JavaScript SVGTitleElement to Kotlin
abstract class SVGTitleElement : SVGElement
SVGViewElement
Exposes the JavaScript SVGViewElement to Kotlin
abstract class SVGViewElement :
SVGElement,
SVGFitToViewBox,
SVGZoomAndPan