SvgTag

class SvgTag(tagName: String, id: String? = null, baseClass: String? = null, job: Job, scope: Scope) : HtmlTag<SVGElement>

Implementation of HtmlTag to represent the JavaScript SVGElement to Kotlin

Constructors

Link copied to clipboard
constructor(tagName: String, id: String? = null, baseClass: String? = null, job: Job, scope: Scope)

Properties

Link copied to clipboard
open val aborts: Listener<Event, SVGElement>

occurs when the loading of a media is aborted

Link copied to clipboard
open val abortsCaptured: Listener<Event, SVGElement>

occurs when the loading of a media is aborted

Link copied to clipboard
open val afterprints: Listener<Event, SVGElement>

occurs when a page has started printing, or if the print dialogue box has been closed

Link copied to clipboard
open val afterprintsCaptured: Listener<Event, SVGElement>

occurs when a page has started printing, or if the print dialogue box has been closed

Link copied to clipboard
open val animationends: Listener<Event, SVGElement>

occurs when a CSS Animation has completed

Link copied to clipboard
open val animationendsCaptured: Listener<Event, SVGElement>

occurs when a CSS Animation has completed

Link copied to clipboard
open val animationiterations: Listener<Event, SVGElement>

occurs when an iteration of a CSS Animation ends, and another one begins

Link copied to clipboard

occurs when an iteration of a CSS Animation ends, and another one begins

Link copied to clipboard
open val animationstarts: Listener<Event, SVGElement>

occurs when a CSS Animation has started

Link copied to clipboard
open val animationstartsCaptured: Listener<Event, SVGElement>

occurs when a CSS Animation has started

Link copied to clipboard
open override val annex: RenderContext

provides RenderContext next to this HtmlTag on the same DOM-level.

Link copied to clipboard
override val baseClass: String?

a static base value for the class-attribute. All dynamic values for this attribute will be concatenated to this base-value.

Link copied to clipboard
open val beforeprints: Listener<Event, SVGElement>

occurs when a page is about to be printed

Link copied to clipboard
open val beforeprintsCaptured: Listener<Event, SVGElement>

occurs when a page is about to be printed

Link copied to clipboard
open val beforeunloads: Listener<Event, SVGElement>

occurs before the document is about to be unloaded

Link copied to clipboard
open val beforeunloadsCaptured: Listener<Event, SVGElement>

occurs before the document is about to be unloaded

Link copied to clipboard
open val blurs: Listener<FocusEvent, SVGElement>

occurs when an element loses focus

Link copied to clipboard
open val blursCaptured: Listener<FocusEvent, SVGElement>

occurs when an element loses focus

Link copied to clipboard
open val canplays: Listener<Event, SVGElement>

occurs when the browser can start playing the media (when it has buffered enough to begin)

Link copied to clipboard
open val canplaysCaptured: Listener<Event, SVGElement>

occurs when the browser can start playing the media (when it has buffered enough to begin)

Link copied to clipboard
open val canplaythroughs: Listener<Event, SVGElement>

occurs when the browser can play through the media without stopping for buffering

Link copied to clipboard
open val canplaythroughsCaptured: Listener<Event, SVGElement>

occurs when the browser can play through the media without stopping for buffering

Link copied to clipboard
open val changes: Listener<Event, SVGElement>

occurs when the content of a form element, the selection, or the checked state have changed (for <input>, <select>, and <textarea>)

Link copied to clipboard
open val changesCaptured: Listener<Event, SVGElement>

occurs when the content of a form element, the selection, or the checked state have changed (for <input>, <select>, and <textarea>)

Link copied to clipboard
open val clicks: Listener<MouseEvent, SVGElement>

occurs when the user clicks on an element

Link copied to clipboard
open val clicksCaptured: Listener<MouseEvent, SVGElement>

occurs when the user clicks on an element

Link copied to clipboard
open val contextmenus: Listener<MouseEvent, SVGElement>

occurs when the user right-clicks on an element to open a context menu

Link copied to clipboard

occurs when the user right-clicks on an element to open a context menu

Link copied to clipboard
open val copys: Listener<ClipboardEvent, SVGElement>

occurs when the user copies the content of an element

Link copied to clipboard
open val copysCaptured: Listener<ClipboardEvent, SVGElement>

occurs when the user copies the content of an element

Link copied to clipboard
open val cuts: Listener<ClipboardEvent, SVGElement>

occurs when the user cuts the content of an element

Link copied to clipboard
open val cutsCaptured: Listener<ClipboardEvent, SVGElement>

occurs when the user cuts the content of an element

Link copied to clipboard
open val dblclicks: Listener<MouseEvent, SVGElement>

occurs when the user double-clicks on an element

Link copied to clipboard
open val dblclicksCaptured: Listener<MouseEvent, SVGElement>

occurs when the user double-clicks on an element

Link copied to clipboard
open override val domNode: SVGElement

the wrapped Node

Link copied to clipboard
open val dragends: Listener<DragEvent, SVGElement>

occurs when the user has finished dragging an element

Link copied to clipboard
open val dragendsCaptured: Listener<DragEvent, SVGElement>

occurs when the user has finished dragging an element

Link copied to clipboard
open val dragenters: Listener<DragEvent, SVGElement>

occurs when the dragged element enters the drop target

Link copied to clipboard
open val dragentersCaptured: Listener<DragEvent, SVGElement>

occurs when the dragged element enters the drop target

Link copied to clipboard
open val dragleaves: Listener<DragEvent, SVGElement>

occurs when the dragged element leaves the drop target

Link copied to clipboard
open val dragleavesCaptured: Listener<DragEvent, SVGElement>

occurs when the dragged element leaves the drop target

Link copied to clipboard
open val dragovers: Listener<DragEvent, SVGElement>

occurs when the dragged element is over the drop target

Link copied to clipboard
open val dragoversCaptured: Listener<DragEvent, SVGElement>

occurs when the dragged element is over the drop target

Link copied to clipboard
open val drags: Listener<DragEvent, SVGElement>

occurs when an element is being dragged

Link copied to clipboard
open val dragsCaptured: Listener<DragEvent, SVGElement>

occurs when an element is being dragged

Link copied to clipboard
open val dragstarts: Listener<DragEvent, SVGElement>

occurs when the user starts to drag an element

Link copied to clipboard
open val dragstartsCaptured: Listener<DragEvent, SVGElement>

occurs when the user starts to drag an element

Link copied to clipboard
open val drops: Listener<DragEvent, SVGElement>

occurs when the dragged element is dropped on the drop target

Link copied to clipboard
open val dropsCaptured: Listener<DragEvent, SVGElement>

occurs when the dragged element is dropped on the drop target

Link copied to clipboard
open val durationchanges: Listener<Event, SVGElement>

occurs when the duration of the media is changed

Link copied to clipboard
open val durationchangesCaptured: Listener<Event, SVGElement>

occurs when the duration of the media is changed

Link copied to clipboard
open val endeds: Listener<Event, SVGElement>

occurs when the media has reach the end (useful for messages like "thanks for listening")

Link copied to clipboard
open val endedsCaptured: Listener<Event, SVGElement>

occurs when the media has reach the end (useful for messages like "thanks for listening")

Link copied to clipboard
open val errors: Listener<Event, SVGElement>

occurs when a CSS Animation has completed

Link copied to clipboard
open val errorsCaptured: Listener<Event, SVGElement>

occurs when a CSS Animation has completed

Link copied to clipboard
open val focusins: Listener<FocusEvent, SVGElement>

occurs when an element is about to get focus

Link copied to clipboard
open val focusinsCaptured: Listener<FocusEvent, SVGElement>

occurs when an element is about to get focus

Link copied to clipboard
open val focusouts: Listener<FocusEvent, SVGElement>

occurs when an element is about to lose focus

Link copied to clipboard
open val focusoutsCaptured: Listener<FocusEvent, SVGElement>

occurs when an element is about to lose focus

Link copied to clipboard
open val focuss: Listener<FocusEvent, SVGElement>

occurs when an element gets focus

Link copied to clipboard
open val focussCaptured: Listener<FocusEvent, SVGElement>

occurs when an element gets focus

Link copied to clipboard
open val fullscreenchanges: Listener<Event, SVGElement>

occurs when an element is displayed in fullscreen mode

Link copied to clipboard

occurs when an element is displayed in fullscreen mode

Link copied to clipboard
open val fullscreenerrors: Listener<Event, SVGElement>

occurs when an element can not be displayed in fullscreen mode

Link copied to clipboard
open val fullscreenerrorsCaptured: Listener<Event, SVGElement>

occurs when an element can not be displayed in fullscreen mode

Link copied to clipboard
open val hashchanges: Listener<HashChangeEvent, SVGElement>

occurs when there has been changes to the anchor part of a URL

Link copied to clipboard

occurs when there has been changes to the anchor part of a URL

Link copied to clipboard
override val id: String?

the DOM-id of the element to be created

Link copied to clipboard
open val inputs: Listener<Event, SVGElement>

occurs when an element gets user input has to use Event as type because Chrome and Safari offer Events instead of InputEvents when selecting from a datalist

Link copied to clipboard
open val inputsCaptured: Listener<Event, SVGElement>

occurs when an element gets user input has to use Event as type because Chrome and Safari offer Events instead of InputEvents when selecting from a datalist

Link copied to clipboard
open val invalids: Listener<Event, SVGElement>

occurs when an element is invalid

Link copied to clipboard
open val invalidsCaptured: Listener<Event, SVGElement>

occurs when an element is invalid

Link copied to clipboard
open override val job: Job

used for launching coroutines in

Link copied to clipboard
open val keydowns: Listener<KeyboardEvent, SVGElement>

occurs when the user is pressing a key

Link copied to clipboard
open val keydownsCaptured: Listener<KeyboardEvent, SVGElement>

occurs when the user is pressing a key

Link copied to clipboard
open val keypresss: Listener<KeyboardEvent, SVGElement>

occurs when the user presses a key

Link copied to clipboard

occurs when the user presses a key

Link copied to clipboard
open val keyups: Listener<KeyboardEvent, SVGElement>

occurs when the user releases a key

Link copied to clipboard
open val keyupsCaptured: Listener<KeyboardEvent, SVGElement>

occurs when the user releases a key

Link copied to clipboard
open val loadeddatas: Listener<Event, SVGElement>

occurs when media data is loaded

Link copied to clipboard
open val loadeddatasCaptured: Listener<Event, SVGElement>

occurs when media data is loaded

Link copied to clipboard
open val loadedmetadatas: Listener<Event, SVGElement>

occurs when metadata (like dimensions and duration) are loaded

Link copied to clipboard
open val loadedmetadatasCaptured: Listener<Event, SVGElement>

occurs when metadata (like dimensions and duration) are loaded

Link copied to clipboard
open val loads: Listener<Event, SVGElement>

occurs when an object has loaded

Link copied to clipboard
open val loadsCaptured: Listener<Event, SVGElement>

occurs when an object has loaded

Link copied to clipboard
open val loadstarts: Listener<ProgressEvent, SVGElement>

occurs when the browser starts looking for the specified media

Link copied to clipboard
open val loadstartsCaptured: Listener<ProgressEvent, SVGElement>

occurs when the browser starts looking for the specified media

Link copied to clipboard
open val messages: Listener<Event, SVGElement>

occurs when a message is received through the event source

Link copied to clipboard
open val messagesCaptured: Listener<Event, SVGElement>

occurs when a message is received through the event source

Link copied to clipboard
open val mousedowns: Listener<MouseEvent, SVGElement>

occurs when the user presses a mouse button over an element

Link copied to clipboard
open val mousedownsCaptured: Listener<MouseEvent, SVGElement>

occurs when the user presses a mouse button over an element

Link copied to clipboard
open val mouseenters: Listener<MouseEvent, SVGElement>

occurs when the pointer is moved onto an element

Link copied to clipboard
open val mouseentersCaptured: Listener<MouseEvent, SVGElement>

occurs when the pointer is moved onto an element

Link copied to clipboard
open val mouseleaves: Listener<MouseEvent, SVGElement>

occurs when the pointer is moved out of an element

Link copied to clipboard
open val mouseleavesCaptured: Listener<MouseEvent, SVGElement>

occurs when the pointer is moved out of an element

Link copied to clipboard
open val mousemoves: Listener<MouseEvent, SVGElement>

occurs when the pointer is moving while it is over an element

Link copied to clipboard
open val mousemovesCaptured: Listener<MouseEvent, SVGElement>

occurs when the pointer is moving while it is over an element

Link copied to clipboard
open val mouseouts: Listener<MouseEvent, SVGElement>

occurs when a user moves the mouse pointer out of an element, or out of one of its children

Link copied to clipboard
open val mouseoutsCaptured: Listener<MouseEvent, SVGElement>

occurs when a user moves the mouse pointer out of an element, or out of one of its children

Link copied to clipboard
open val mouseovers: Listener<MouseEvent, SVGElement>

occurs when the pointer is moved onto an element, or onto one of its children

Link copied to clipboard
open val mouseoversCaptured: Listener<MouseEvent, SVGElement>

occurs when the pointer is moved onto an element, or onto one of its children

Link copied to clipboard
open val mouseups: Listener<MouseEvent, SVGElement>

occurs when a user releases a mouse button over an element

Link copied to clipboard
open val mouseupsCaptured: Listener<MouseEvent, SVGElement>

occurs when a user releases a mouse button over an element

Link copied to clipboard
open val offlines: Listener<Event, SVGElement>

occurs when the browser starts to work offline

Link copied to clipboard
open val offlinesCaptured: Listener<Event, SVGElement>

occurs when the browser starts to work offline

Link copied to clipboard
open val onlines: Listener<Event, SVGElement>

occurs when the browser starts to work online

Link copied to clipboard
open val onlinesCaptured: Listener<Event, SVGElement>

occurs when the browser starts to work online

Link copied to clipboard
open val opens: Listener<Event, SVGElement>

occurs when a connection with the event source is opened

Link copied to clipboard
open val opensCaptured: Listener<Event, SVGElement>

occurs when a connection with the event source is opened

Link copied to clipboard
open val pagehides: Listener<PageTransitionEvent, SVGElement>

occurs when the user navigates away from a webpage

Link copied to clipboard

occurs when the user navigates away from a webpage

Link copied to clipboard
open val pageshows: Listener<PageTransitionEvent, SVGElement>

occurs when the user navigates to a webpage

Link copied to clipboard

occurs when the user navigates to a webpage

Link copied to clipboard
open val pastes: Listener<ClipboardEvent, SVGElement>

occurs when the user pastes some content in an element

Link copied to clipboard
open val pastesCaptured: Listener<ClipboardEvent, SVGElement>

occurs when the user pastes some content in an element

Link copied to clipboard
open val pauses: Listener<Event, SVGElement>

occurs when the media is paused either by the user or programmatically

Link copied to clipboard
open val pausesCaptured: Listener<Event, SVGElement>

occurs when the media is paused either by the user or programmatically

Link copied to clipboard
open val playings: Listener<Event, SVGElement>

occurs when the media is playing after having been paused or stopped for buffering

Link copied to clipboard
open val playingsCaptured: Listener<Event, SVGElement>

occurs when the media is playing after having been paused or stopped for buffering

Link copied to clipboard
open val plays: Listener<Event, SVGElement>

occurs when the media has been started or is no longer paused

Link copied to clipboard
open val playsCaptured: Listener<Event, SVGElement>

occurs when the media has been started or is no longer paused

Link copied to clipboard
open val popstates: Listener<PopStateEvent, SVGElement>

occurs when the window's history changes

Link copied to clipboard

occurs when the window's history changes

Link copied to clipboard
open val progresss: Listener<Event, SVGElement>

occurs when the browser is in the process of getting the media data (downloading the media)

Link copied to clipboard
open val progresssCaptured: Listener<Event, SVGElement>

occurs when the browser is in the process of getting the media data (downloading the media)

Link copied to clipboard
open val ratechanges: Listener<Event, SVGElement>

occurs when the playing speed of the media is changed

Link copied to clipboard
open val ratechangesCaptured: Listener<Event, SVGElement>

occurs when the playing speed of the media is changed

Link copied to clipboard
open val resets: Listener<Event, SVGElement>

occurs when a form is reset

Link copied to clipboard
open val resetsCaptured: Listener<Event, SVGElement>

occurs when a form is reset

Link copied to clipboard
open val resizes: Listener<Event, SVGElement>

occurs when the document view is resized

Link copied to clipboard
open val resizesCaptured: Listener<Event, SVGElement>

occurs when the document view is resized

Link copied to clipboard
open override val scope: Scope

set some arbitrary scope entries into the Tag's scope

Link copied to clipboard
open val scrolls: Listener<Event, SVGElement>

occurs when an element's scrollbar is being scrolled

Link copied to clipboard
open val scrollsCaptured: Listener<Event, SVGElement>

occurs when an element's scrollbar is being scrolled

Link copied to clipboard
open val searchs: Listener<Event, SVGElement>

occurs when the user writes something in a search field (for )

Link copied to clipboard
open val searchsCaptured: Listener<Event, SVGElement>

occurs when the user writes something in a search field (for )

Link copied to clipboard
open val seekeds: Listener<Event, SVGElement>

occurs when the user is finished moving/skipping to a new position in the media

Link copied to clipboard
open val seekedsCaptured: Listener<Event, SVGElement>

occurs when the user is finished moving/skipping to a new position in the media

Link copied to clipboard
open val seekings: Listener<Event, SVGElement>

occurs when the user starts moving/skipping to a new position in the media

Link copied to clipboard
open val seekingsCaptured: Listener<Event, SVGElement>

occurs when the user starts moving/skipping to a new position in the media

Link copied to clipboard
open val selects: Listener<Event, SVGElement>

occurs after the user selects some text (for and

© 2025 Copyright