SVGTextElement extension type
The SVGTextElement interface corresponds to the elements.
API documentation sourced from MDN Web Docs.
Constructors
- SVGTextElement()
- Creates an SVGTextElement using the tag 'text'.
Properties
- ariaAtomic ↔ String?
-
The
ariaAtomicproperty of theElementinterface reflects the value of thearia-atomicattribute, which indicates whether assistive technologies will present all, or only parts of, the changed region based on the change notifications defined by thearia-relevantattribute.getter/setter pairinherited - ariaAutoComplete ↔ String?
-
The
ariaAutoCompleteproperty of theElementinterface reflects the value of thearia-autocompleteattribute, which indicates whether inputting text could trigger display of one or more predictions of the user's intended value for a combobox, searchbox, or textbox and specifies how predictions would be presented if they were made.getter/setter pairinherited - ariaBrailleLabel ↔ String?
-
The
ariaBrailleLabelproperty of theElementinterface reflects the value of thearia-braillelabelattribute, which defines the ARIA braille label of the element.getter/setter pairinherited - ariaBrailleRoleDescription ↔ String?
-
The
ariaBrailleRoleDescriptionproperty of theElementinterface reflects the value of thearia-brailleroledescriptionattribute, which defines the ARIA braille role description of the element.getter/setter pairinherited - ariaBusy ↔ String?
-
The
ariaBusyproperty of theElementinterface reflects the value of thearia-busyattribute, which indicates whether an element is being modified, as assistive technologies may want to wait until the modifications are complete before exposing them to the user.getter/setter pairinherited - ariaChecked ↔ String?
-
The
ariaCheckedproperty of theElementinterface reflects the value of thearia-checkedattribute, which indicates the current "checked" state of checkboxes, radio buttons, and other widgets that have a checked state.getter/setter pairinherited - ariaColCount ↔ String?
-
The
ariaColCountproperty of theElementinterface reflects the value of thearia-colcountattribute, which defines the number of columns in a table, grid, or treegrid.getter/setter pairinherited - ariaColIndex ↔ String?
-
The
ariaColIndexproperty of theElementinterface reflects the value of thearia-colindexattribute, which defines an element's column index or position with respect to the total number of columns within a table, grid, or treegrid.getter/setter pairinherited - ariaColSpan ↔ String?
-
The
ariaColSpanproperty of theElementinterface reflects the value of thearia-colspanattribute, which defines the number of columns spanned by a cell or gridcell within a table, grid, or treegrid.getter/setter pairinherited - ariaCurrent ↔ String?
-
The
ariaCurrentproperty of theElementinterface reflects the value of thearia-currentattribute, which indicates the element that represents the current item within a container or set of related elements.getter/setter pairinherited - ariaDescription ↔ String?
-
The
ariaDescriptionproperty of theElementinterface reflects the value of thearia-descriptionattribute, which defines a string value that describes or annotates the current element.getter/setter pairinherited - ariaDisabled ↔ String?
-
The
ariaDisabledproperty of theElementinterface reflects the value of thearia-disabledattribute, which indicates that the element is perceivable but disabled, so it is not editable or otherwise operable.getter/setter pairinherited - ariaExpanded ↔ String?
-
The
ariaExpandedproperty of theElementinterface reflects the value of thearia-expandedattribute, which indicates whether a grouping element owned or controlled by this element is expanded or collapsed.getter/setter pairinherited - ariaHasPopup ↔ String?
-
The
ariaHasPopupproperty of theElementinterface reflects the value of thearia-haspopupattribute, which indicates the availability and type of interactive popup element, such as menu or dialog, that can be triggered by an element.getter/setter pairinherited - ariaHidden ↔ String?
-
The
ariaHiddenproperty of theElementinterface reflects the value of thearia-hidden) attribute, which indicates whether the element is exposed to an accessibility API.getter/setter pairinherited - ariaInvalid ↔ String?
-
getter/setter pairinherited
- ariaKeyShortcuts ↔ String?
-
The
ariaKeyShortcutsproperty of theElementinterface reflects the value of thearia-keyshortcutsattribute, which indicates keyboard shortcuts that an author has implemented to activate or give focus to an element.getter/setter pairinherited - ariaLabel ↔ String?
-
The
ariaLabelproperty of theElementinterface reflects the value of thearia-labelattribute, which defines a string value that labels the current element.getter/setter pairinherited - ariaLevel ↔ String?
-
The
ariaLevelproperty of theElementinterface reflects the value of thearia-levelattribute, which defines the hierarchical level of an element within a structure.getter/setter pairinherited - ariaLive ↔ String?
-
The
ariaLiveproperty of theElementinterface reflects the value of thearia-liveattribute, which indicates that an element will be updated, and describes the types of updates the user agents, assistive technologies, and user can expect from the live region.getter/setter pairinherited - ariaModal ↔ String?
-
The
ariaModalproperty of theElementinterface reflects the value of thearia-modalattribute, which indicates whether an element is modal when displayed. Applying thearia-modalproperty to an element withrole="dialog"replaces the technique of using aria-hidden on the background for informing assistive technologies that content outside a dialog is inert.getter/setter pairinherited - ariaMultiLine ↔ String?
-
The
ariaMultiLineproperty of theElementinterface reflects the value of thearia-multilineattribute, which indicates whether a text box accepts multiple lines of input or only a single line.getter/setter pairinherited - ariaMultiSelectable ↔ String?
-
The
ariaMultiSelectableproperty of theElementinterface reflects the value of thearia-multiselectableattribute, which indicates that the user may select more than one item from the current selectable descendants.getter/setter pairinherited - ariaOrientation ↔ String?
-
The
ariaOrientationproperty of theElementinterface reflects the value of thearia-orientationattribute, which indicates whether the element's orientation is horizontal, vertical, or unknown/ambiguous.getter/setter pairinherited - ariaPlaceholder ↔ String?
-
The
ariaPlaceholderproperty of theElementinterface reflects the value of thearia-placeholderattribute, which defines a short hint intended to aid the user with data entry when the control has no value.getter/setter pairinherited - ariaPosInSet ↔ String?
-
The
ariaPosInSetproperty of theElementinterface reflects the value of thearia-posinsetattribute, which defines an element's number or position in the current set of listitems or treeitems.getter/setter pairinherited - ariaPressed ↔ String?
-
The
ariaPressedproperty of theElementinterface reflects the value of thearia-pressedattribute, which indicates the current "pressed" state of toggle buttons.getter/setter pairinherited - ariaReadOnly ↔ String?
-
The
ariaReadOnlyproperty of theElementinterface reflects the value of thearia-readonlyattribute, which indicates that the element is not editable, but is otherwise operable.getter/setter pairinherited - ariaRequired ↔ String?
-
The
ariaRequiredproperty of theElementinterface reflects the value of thearia-requiredattribute, which indicates that user input is required on the element before a form may be submitted.getter/setter pairinherited - ariaRoleDescription ↔ String?
-
The
ariaRoleDescriptionproperty of theElementinterface reflects the value of thearia-roledescriptionattribute, which defines a human-readable, author-localized description for the role of an element.getter/setter pairinherited - ariaRowCount ↔ String?
-
The
ariaRowCountproperty of theElementinterface reflects the value of thearia-rowcountattribute, which defines the total number of rows in a table, grid, or treegrid.getter/setter pairinherited - ariaRowIndex ↔ String?
-
The
ariaRowIndexproperty of theElementinterface reflects the value of thearia-rowindexattribute, which defines an element's row index or position with respect to the total number of rows within a table, grid, or treegrid.getter/setter pairinherited - ariaRowSpan ↔ String?
-
The
ariaRowSpanproperty of theElementinterface reflects the value of thearia-rowspanattribute, which defines the number of rows spanned by a cell or gridcell within a table, grid, or treegrid.getter/setter pairinherited - ariaSelected ↔ String?
-
The
ariaSelectedproperty of theElementinterface reflects the value of thearia-selectedattribute, which indicates the current "selected" state of elements that have a selected state.getter/setter pairinherited - ariaSetSize ↔ String?
-
The
ariaSetSizeproperty of theElementinterface reflects the value of thearia-setsizeattribute, which defines the number of items in the current set of listitems or treeitems.getter/setter pairinherited - ariaSort ↔ String?
-
The
ariaSortproperty of theElementinterface reflects the value of thearia-sortattribute, which indicates if items in a table or grid are sorted in ascending or descending order.getter/setter pairinherited - ariaValueMax ↔ String?
-
The
ariaValueMaxproperty of theElementinterface reflects the value of thearia-valuemaxattribute, which defines the maximum allowed value for a range widget.getter/setter pairinherited - ariaValueMin ↔ String?
-
The
ariaValueMinproperty of theElementinterface reflects the value of thearia-valueminattribute, which defines the minimum allowed value for a range widget.getter/setter pairinherited - ariaValueNow ↔ String?
-
The
ariaValueNowproperty of theElementinterface reflects the value of thearia-valuenowattribute, which defines the current value for a range widget.getter/setter pairinherited - ariaValueText ↔ String?
-
The
ariaValueTextproperty of theElementinterface reflects the value of thearia-valuetextattribute, which defines the human-readable text alternative of aria-valuenow for a range widget.getter/setter pairinherited - assignedSlot → HTMLSlotElement?
-
The
assignedSlotread-only property of theElementinterface returns an HTMLSlotElement representing theslotelement the node is inserted in.no setterinherited - attributes → NamedNodeMap
-
The
Element.attributesproperty returns a live collection of all attribute nodes registered to the specified node. It is a NamedNodeMap, not anArray, so it has noArraymethods and the Attr nodes' indexes may differ among browsers. To be more specific,attributesis a key/value pair of strings that represents any information regarding that attribute.no setterinherited - attributeStyleMap → StylePropertyMap
-
The
attributeStyleMapread-only property of the SVGElement interface returns a live StylePropertyMap object that contains a list of style properties of the element that are defined in the element's inlinestyleattribute, or assigned using the SVGElement.style property of the SVGElement interface via script.no setterinherited - autofocus ↔ bool
-
getter/setter pairinherited
- baseURI → String
-
The read-only
baseURIproperty of theNodeinterface returns the absolute base URL of the document containing the node.no setterinherited - childElementCount → int
-
The
Element.childElementCountread-only property returns the number of child elements of this element.no setterinherited - childNodes → NodeList
-
The read-only
childNodesproperty of theNodeinterface returns a live NodeList of childNodeof the given element where the first child node is assigned index0. Child nodes include elements, text and comments.no setterinherited - children → HTMLCollection
-
The read-only
childrenproperty returns a live HTMLCollection which contains all of the childElementof the element upon which it was called.no setterinherited - classList → DOMTokenList
-
The
Element.classListis a read-only property that returns a live DOMTokenList collection of theclassattributes of the element. This can then be used to manipulate the class list.no setterinherited - className → SVGAnimatedString
-
Available on SVGElement, provided by the SVGElementExtension extension
no setter - className ↔ String
-
The
classNameproperty of theElementinterface gets and sets the value of theclassattribute of the specified element.getter/setter pairinherited - clientHeight → int
-
The
Element.clientHeightread-only property is zero for elements with no CSS or inline layout boxes; otherwise, it's the inner height of an element in pixels. It includes padding but excludes borders, margins, and horizontal scrollbars (if present).no setterinherited - clientLeft → int
-
The width of the left border of an element in pixels. It includes the
width of the
vertical scrollbar if the text direction of the element is right-to-left
and if there
is an overflow causing a left vertical scrollbar to be rendered.
clientLeftdoes not include the left margin or the left padding.clientLeftis read-only.no setterinherited - clientTop → int
-
The width of the top border of an element in pixels. It is a read-only,
integer
property of element.
no setterinherited
- clientWidth → int
-
The
Element.clientWidthproperty is zero for inline elements and elements with no CSS; otherwise, it's the inner width of an element in pixels. It includes padding but excludes borders, margins, and vertical scrollbars (if present).no setterinherited - dataset → DOMStringMap
-
The
datasetread-only property of the SVGElement interface provides read/write access to custom data attributes (data-*) on elements. It exposes a map of strings (DOMStringMap) with an entry for eachdata-*attribute.no setterinherited - dx → SVGAnimatedLengthList
-
no setterinherited
- dy → SVGAnimatedLengthList
-
no setterinherited
- firstChild → Node?
-
The read-only
firstChildproperty of theNodeinterface returns the node's first child in the tree, ornullif the node has no children.no setterinherited - firstElementChild → Element?
-
The
Element.firstElementChildread-only property returns an element's first childElement, ornullif there are no child elements.no setterinherited - hashCode → int
-
The hash code for this object.
no setterinherited
- id ↔ String
-
The
idproperty of theElementinterface represents the element's identifier, reflecting theidglobal attribute.getter/setter pairinherited - innerHTML ↔ JSAny
-
The
ElementpropertyinnerHTMLgets or sets the HTML or XML markup contained within the element.getter/setter pairinherited - isConnected → bool
-
The read-only
isConnectedproperty of theNodeinterface returns a boolean indicating whether the node is connected (directly or indirectly) to a Document object.no setterinherited - isDefinedAndNotNull → bool
-
Available on JSAny?, provided by the NullableUndefineableJSAnyExtension extension
no setter - isNull → bool
-
Available on JSAny?, provided by the NullableUndefineableJSAnyExtension extension
Whether this value corresponds to JavaScriptnull.no setter - isTruthy → JSBoolean
-
Available on JSAny?, provided by the JSAnyOperatorExtension extension
The result of!!in JavaScript.thisno setter - isUndefined → bool
-
Available on JSAny?, provided by the NullableUndefineableJSAnyExtension extension
Whether this value corresponds to JavaScriptundefined.no setter - isUndefinedOrNull → bool
-
Available on JSAny?, provided by the NullableUndefineableJSAnyExtension extension
no setter - lastChild → Node?
-
The read-only
lastChildproperty of theNodeinterface returns the last child of the node, ornullif there are no child nodes.no setterinherited - lastElementChild → Element?
-
The
Element.lastElementChildread-only property returns an element's last childElement, ornullif there are no child elements.no setterinherited - lengthAdjust → SVGAnimatedEnumeration
-
no setterinherited
- localName → String
-
The
Element.localNameread-only property returns the local part of the qualified name of an element.no setterinherited - namespaceURI → String?
-
The
Element.namespaceURIread-only property returns the namespace URI of the element, ornullif the element is not in a namespace.no setterinherited - nextElementSibling → Element?
-
The
Element.nextElementSiblingread-only property returns the element immediately following the specified one in its parent's children list, ornullif the specified element is the last one in the list.no setterinherited - nextSibling → Node?
-
The read-only
nextSiblingproperty of theNodeinterface returns the node immediately following the specified one in their parent'sNode.childNodes, or returnsnullif the specified node is the last child in the parent element.no setterinherited - nodeName → String
-
The read-only
nodeNameproperty ofNodereturns the name of the current node as a string.no setterinherited - nodeType → int
-
The read-only
nodeTypeproperty of aNodeinterface is an integer that identifies what the node is. It distinguishes different kind of nodes from each other, such asElement,Textand Comment.no setterinherited - nodeValue ↔ String?
-
The
nodeValueproperty of theNodeinterface returns or sets the value of the current node.getter/setter pairinherited - nonce ↔ String
-
getter/setter pairinherited
- not → JSBoolean
-
Available on JSAny?, provided by the JSAnyOperatorExtension extension
The result of!in JavaScript.thisno setter -
onAbort
→ ElementStream<
Event> -
Available on Element, provided by the ElementEventGetters extension
no setter - onabort ↔ EventHandler?
-
getter/setter pairinherited
- onanimationcancel ↔ EventHandler?
-
getter/setter pairinherited
- onanimationend ↔ EventHandler?
-
getter/setter pairinherited
- onanimationiteration ↔ EventHandler?
-
getter/setter pairinherited
- onanimationstart ↔ EventHandler?
-
getter/setter pairinherited
- onauxclick ↔ EventHandler?
-
getter/setter pairinherited
-
onBeforeCopy
→ ElementStream<
Event> -
Available on Element, provided by the ElementEventGetters extension
no setter -
onBeforeCut
→ ElementStream<
Event> -
Available on Element, provided by the ElementEventGetters extension
no setter - onbeforeinput ↔ EventHandler?
-
getter/setter pairinherited
-
onBeforePaste
→ ElementStream<
Event> -
Available on Element, provided by the ElementEventGetters extension
no setter - onbeforetoggle ↔ EventHandler?
-
getter/setter pairinherited
-
onBlur
→ ElementStream<
Event> -
Available on Element, provided by the ElementEventGetters extension
no setter - onblur ↔ EventHandler?
-
getter/setter pairinherited
- oncancel ↔ EventHandler?
-
getter/setter pairinherited
-
onCanPlay
→ ElementStream<
Event> -
Available on Element, provided by the ElementEventGetters extension
no setter - oncanplay ↔ EventHandler?
-
getter/setter pairinherited
-
onCanPlayThrough
→ ElementStream<
Event> -
Available on Element, provided by the ElementEventGetters extension
no setter - oncanplaythrough ↔ EventHandler?
-
getter/setter pairinherited
-
onChange
→ ElementStream<
Event> -
Available on Element, provided by the ElementEventGetters extension
no setter - onchange ↔ EventHandler?
-
getter/setter pairinherited
-
onClick
→ ElementStream<
MouseEvent> -
Available on Element, provided by the ElementEventGetters extension
no setter - onclick ↔ EventHandler?
-
getter/setter pairinherited
- onclose ↔ EventHandler?
-
getter/setter pairinherited
- oncontextlost ↔ EventHandler?
-
getter/setter pairinherited
-
onContextMenu
→ ElementStream<
MouseEvent> -
Available on Element, provided by the ElementEventGetters extension
no setter -
getter/setter pairinherited
- oncontextrestored ↔ EventHandler?
-
getter/setter pairinherited
-
onCopy
→ ElementStream<
ClipboardEvent> -
Available on Element, provided by the ElementEventGetters extension
no setter - oncopy ↔ EventHandler?
-
getter/setter pairinherited
- oncuechange ↔ EventHandler?
-
getter/setter pairinherited
-
onCut
→ ElementStream<
ClipboardEvent> -
Available on Element, provided by the ElementEventGetters extension
no setter - oncut ↔ EventHandler?
-
getter/setter pairinherited
- ondblclick ↔ EventHandler?
-
getter/setter pairinherited
-
onDoubleClick
→ ElementStream<
Event> -
Available on Element, provided by the ElementEventGetters extension
no setter -
onDrag
→ ElementStream<
MouseEvent> -
Available on Element, provided by the ElementEventGetters extension
no setter - ondrag ↔ EventHandler?
-
getter/setter pairinherited
-
onDragEnd
→ ElementStream<
MouseEvent> -
Available on Element, provided by the ElementEventGetters extension
no setter - ondragend ↔ EventHandler?
-
getter/setter pairinherited
-
onDragEnter
→ ElementStream<
MouseEvent> -
Available on Element, provided by the ElementEventGetters extension
no setter - ondragenter ↔ EventHandler?
-
getter/setter pairinherited
-
onDragLeave
→ ElementStream<
MouseEvent> -
Available on Element, provided by the ElementEventGetters extension
no setter - ondragleave ↔ EventHandler?
-
getter/setter pairinherited
-
onDragOver
→ ElementStream<
MouseEvent> -
Available on Element, provided by the ElementEventGetters extension
no setter - ondragover ↔ EventHandler?
-
getter/setter pairinherited
-
onDragStart
→ ElementStream<
MouseEvent> -
Available on Element, provided by the ElementEventGetters extension
no setter - ondragstart ↔ EventHandler?
-
getter/setter pairinherited
-
onDrop
→ ElementStream<
MouseEvent> -
Available on Element, provided by the ElementEventGetters extension
no setter - ondrop ↔ EventHandler?
-
getter/setter pairinherited
-
onDurationChange
→ ElementStream<
Event> -
Available on Element, provided by the ElementEventGetters extension
no setter - ondurationchange ↔ EventHandler?
-
getter/setter pairinherited
-
onEmptied
→ ElementStream<
Event> -
Available on Element, provided by the ElementEventGetters extension
no setter - onemptied ↔ EventHandler?
-
getter/setter pairinherited
-
onEnded
→ ElementStream<
Event> -
Available on Element, provided by the ElementEventGetters extension
no setter - onended ↔ EventHandler?
-
getter/setter pairinherited
-
onError
→ ElementStream<
Event> -
Available on Element, provided by the ElementEventGetters extension
no setter - onerror ↔ OnErrorEventHandler?
-
getter/setter pairinherited
-
onFocus
→ ElementStream<
Event> -
Available on Element, provided by the ElementEventGetters extension
no setter - onfocus ↔ EventHandler?
-
getter/setter pairinherited
- onformdata ↔ EventHandler?
-
getter/setter pairinherited
-
onFullscreenChange
→ ElementStream<
Event> -
Available on Element, provided by the ElementEventGetters extension
no setter - onfullscreenchange ↔ EventHandler?
-
getter/setter pairinherited
-
onFullscreenError
→ ElementStream<
Event> -
Available on Element, provided by the ElementEventGetters extension
no setter - onfullscreenerror ↔ EventHandler?
-
getter/setter pairinherited
- ongotpointercapture ↔ EventHandler?
-
getter/setter pairinherited
-
onInput
→ ElementStream<
Event> -
Available on Element, provided by the ElementEventGetters extension
no setter - oninput ↔ EventHandler?
-
getter/setter pairinherited
-
onInvalid
→ ElementStream<
Event> -
Available on Element, provided by the ElementEventGetters extension
no setter - oninvalid ↔ EventHandler?
-
getter/setter pairinherited
-
onKeyDown
→ ElementStream<
KeyboardEvent> -
Available on Element, provided by the ElementEventGetters extension
no setter - onkeydown ↔ EventHandler?
-
getter/setter pairinherited
-
onKeyPress
→ ElementStream<
KeyboardEvent> -
Available on Element, provided by the ElementEventGetters extension
no setter - onkeypress ↔ EventHandler?
-
getter/setter pairinherited
-
onKeyUp
→ ElementStream<
KeyboardEvent> -
Available on Element, provided by the ElementEventGetters extension
no setter - onkeyup ↔ EventHandler?
-
getter/setter pairinherited
-
onLoad
→ ElementStream<
Event> -
Available on Element, provided by the ElementEventGetters extension
no setter - onload ↔ EventHandler?
-
getter/setter pairinherited
-
onLoadedData
→ ElementStream<
Event> -
Available on Element, provided by the ElementEventGetters extension
no setter - onloadeddata ↔ EventHandler?
-
getter/setter pairinherited
-
onLoadedMetadata
→ ElementStream<
Event> -
Available on Element, provided by the ElementEventGetters extension
no setter - onloadedmetadata ↔ EventHandler?
-
getter/setter pairinherited
- onloadstart ↔ EventHandler?
-
getter/setter pairinherited
- onlostpointercapture ↔ EventHandler?
-
getter/setter pairinherited
-
onMouseDown
→ ElementStream<
MouseEvent> -
Available on Element, provided by the ElementEventGetters extension
no setter - onmousedown ↔ EventHandler?
-
getter/setter pairinherited
-
onMouseEnter
→ ElementStream<
MouseEvent> -
Available on Element, provided by the ElementEventGetters extension
no setter - onmouseenter ↔ EventHandler?
-
getter/setter pairinherited
-
onMouseLeave
→ ElementStream<
MouseEvent> -
Available on Element, provided by the ElementEventGetters extension
no setter - onmouseleave ↔ EventHandler?
-
getter/setter pairinherited
-
onMouseMove
→ ElementStream<
MouseEvent> -
Available on Element, provided by the ElementEventGetters extension
no setter - onmousemove ↔ EventHandler?
-
getter/setter pairinherited
-
onMouseOut
→ ElementStream<
MouseEvent> -
Available on Element, provided by the ElementEventGetters extension
no setter - onmouseout ↔ EventHandler?
-
getter/setter pairinherited
-
onMouseOver
→ ElementStream<
MouseEvent> -
Available on Element, provided by the ElementEventGetters extension
no setter - onmouseover ↔ EventHandler?
-
getter/setter pairinherited
-
onMouseUp
→ ElementStream<
MouseEvent> -
Available on Element, provided by the ElementEventGetters extension
no setter - onmouseup ↔ EventHandler?
-
getter/setter pairinherited
-
onMouseWheel
→ ElementStream<
WheelEvent> -
Available on Element, provided by the ElementCustomEvents extension
no setter -
onPaste
→ ElementStream<
ClipboardEvent> -
Available on Element, provided by the ElementEventGetters extension
no setter - onpaste ↔ EventHandler?
-
getter/setter pairinherited
-
onPause
→ ElementStream<
Event> -
Available on Element, provided by the ElementEventGetters extension
no setter - onpause ↔ EventHandler?
-
getter/setter pairinherited
-
onPlay
→ ElementStream<
Event> -
Available on Element, provided by the ElementEventGetters extension
no setter - onplay ↔ EventHandler?
-
getter/setter pairinherited
-
onPlaying
→ ElementStream<
Event> -
Available on Element, provided by the ElementEventGetters extension
no setter - onplaying ↔ EventHandler?
-
getter/setter pairinherited
- onpointercancel ↔ EventHandler?
-
getter/setter pairinherited
- onpointerdown ↔ EventHandler?
-
getter/setter pairinherited
- onpointerenter ↔ EventHandler?
-
getter/setter pairinherited
- onpointerleave ↔ EventHandler?
-
getter/setter pairinherited
- onpointermove ↔ EventHandler?
-
getter/setter pairinherited
- onpointerout ↔ EventHandler?
-
getter/setter pairinherited
- onpointerover ↔ EventHandler?
-
getter/setter pairinherited
- onpointerup ↔ EventHandler?
-
getter/setter pairinherited
- onprogress ↔ EventHandler?
-
getter/setter pairinherited
-
onRateChange
→ ElementStream<
Event> -
Available on Element, provided by the ElementEventGetters extension
no setter - onratechange ↔ EventHandler?
-
getter/setter pairinherited
-
onReset
→ ElementStream<
Event> -
Available on Element, provided by the ElementEventGetters extension
no setter - onreset ↔ EventHandler?
-
getter/setter pairinherited
-
onResize
→ ElementStream<
Event> -
Available on Element, provided by the ElementEventGetters extension
no setter - onresize ↔ EventHandler?
-
getter/setter pairinherited
-
onScroll
→ ElementStream<
Event> -
Available on Element, provided by the ElementEventGetters extension
no setter - onscroll ↔ EventHandler?
-
getter/setter pairinherited
- onscrollend ↔ EventHandler?
-
getter/setter pairinherited
-
onSearch
→ ElementStream<
Event> -
Available on Element, provided by the ElementEventGetters extension
no setter - onsecuritypolicyviolation ↔ EventHandler?
-
getter/setter pairinherited
-
onSeeked
→ ElementStream<
Event> -
Available on Element, provided by the ElementEventGetters extension
no setter - onseeked ↔ EventHandler?
-
getter/setter pairinherited
-
onSeeking
→ ElementStream<
Event> -
Available on Element, provided by the ElementEventGetters extension
no setter - onseeking ↔ EventHandler?
-
getter/setter pairinherited
-
onSelect
→ ElementStream<
Event> -
Available on Element, provided by the ElementEventGetters extension
no setter - onselect ↔ EventHandler?
-
getter/setter pairinherited
- onselectionchange ↔ EventHandler?
-
getter/setter pairinherited
-
onSelectStart
→ ElementStream<
Event> -
Available on Element, provided by the ElementEventGetters extension
no setter - onselectstart ↔ EventHandler?
-
getter/setter pairinherited
- onslotchange ↔ EventHandler?
-
getter/setter pairinherited
-
onStalled
→ ElementStream<
Event> -
Available on Element, provided by the ElementEventGetters extension
no setter - onstalled ↔ EventHandler?
-
getter/setter pairinherited
-
onSubmit
→ ElementStream<
Event> -
Available on Element, provided by the ElementEventGetters extension
no setter - onsubmit ↔ EventHandler?
-
getter/setter pairinherited
-
onSuspend
→ ElementStream<
Event> -
Available on Element, provided by the ElementEventGetters extension
no setter - onsuspend ↔ EventHandler?
-
getter/setter pairinherited
-
onTimeUpdate
→ ElementStream<
Event> -
Available on Element, provided by the ElementEventGetters extension
no setter - ontimeupdate ↔ EventHandler?
-
getter/setter pairinherited
- ontoggle ↔ EventHandler?
-
getter/setter pairinherited
-
onTouchCancel
→ ElementStream<
TouchEvent> -
Available on Element, provided by the ElementEventGetters extension
no setter - ontouchcancel ↔ EventHandler?
-
getter/setter pairinherited
-
onTouchEnd
→ ElementStream<
TouchEvent> -
Available on Element, provided by the ElementEventGetters extension
no setter - ontouchend ↔ EventHandler?
-
getter/setter pairinherited
-
onTouchEnter
→ ElementStream<
TouchEvent> -
Available on Element, provided by the ElementEventGetters extension
no setter -
onTouchLeave
→ ElementStream<
TouchEvent> -
Available on Element, provided by the ElementEventGetters extension
no setter -
onTouchMove
→ ElementStream<
TouchEvent> -
Available on Element, provided by the ElementEventGetters extension
no setter - ontouchmove ↔ EventHandler?
-
getter/setter pairinherited
-
onTouchStart
→ ElementStream<
TouchEvent> -
Available on Element, provided by the ElementEventGetters extension
no setter - ontouchstart ↔ EventHandler?
-
getter/setter pairinherited
- ontransitioncancel ↔ EventHandler?
-
getter/setter pairinherited
-
onTransitionEnd
→ ElementStream<
TransitionEvent> -
Available on Element, provided by the ElementCustomEvents extension
no setter - ontransitionend ↔ EventHandler?
-
getter/setter pairinherited
- ontransitionrun ↔ EventHandler?
-
getter/setter pairinherited
- ontransitionstart ↔ EventHandler?
-
getter/setter pairinherited
-
onUnload
→ ElementStream<
Event> -
Available on Element, provided by the ElementEventGetters extension
no setter -
onVolumeChange
→ ElementStream<
Event> -
Available on Element, provided by the ElementEventGetters extension
no setter - onvolumechange ↔ EventHandler?
-
getter/setter pairinherited
-
onWaiting
→ ElementStream<
Event> -
Available on Element, provided by the ElementEventGetters extension
no setter - onwaiting ↔ EventHandler?
-
getter/setter pairinherited
-
onWebGlContextLost
→ ElementStream<
WebGLContextEvent> -
Available on Element, provided by the ElementEventGetters extension
no setter -
onWebGlContextRestored
→ ElementStream<
WebGLContextEvent> -
Available on Element, provided by the ElementEventGetters extension
no setter -
onWheel
→ ElementStream<
WheelEvent> -
Available on Element, provided by the ElementEventGetters extension
no setter - onwheel ↔ EventHandler?
-
getter/setter pairinherited
- outerHTML ↔ JSAny
-
The
outerHTMLattribute of theElementDOM interface gets the serialized HTML fragment describing the element including its descendants. It can also be set to replace the element with nodes parsed from the given string.getter/setter pairinherited - ownerDocument → Document?
-
The read-only
ownerDocumentproperty of theNodeinterface returns the top-level document object of the node.no setterinherited - ownerSVGElement → SVGSVGElement?
-
no setterinherited
- parentElement → Element?
-
The read-only
parentElementproperty ofNodeinterface returns the DOM node's parentElement, ornullif the node either has no parent, or its parent isn't a DOMElement.no setterinherited - parentNode → Node?
-
The read-only
parentNodeproperty of theNodeinterface returns the parent of the specified node in the DOM tree.no setterinherited - part → DOMTokenList
-
The
partproperty of theElementinterface represents the part identifier(s) of the element (i.e. set using thepartattribute), returned as a DOMTokenList. These can be used to style parts of a shadow DOM, via the pseudo-element.no setterinherited - prefix → String?
-
The
Element.prefixread-only property returns the namespace prefix of the specified element, ornullif no prefix is specified.no setterinherited - previousElementSibling → Element?
-
The
Element.previousElementSiblingread-only property returns theElementimmediately prior to the specified one in its parent's children list, ornullif the specified element is the first one in the list.no setterinherited - previousSibling → Node?
-
The read-only
previousSiblingproperty of theNodeinterface returns the node immediately preceding the specified one in its parent'sNode.childNodeslist, ornullif the specified node is the first in that list.no setterinherited - requiredExtensions → SVGStringList
-
no setterinherited
- role ↔ String?
-
getter/setter pairinherited
- rotate → SVGAnimatedNumberList
-
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- scrollHeight → int
-
The
Element.scrollHeightread-only property is a measurement of the height of an element's content, including content not visible on the screen due to overflow.no setterinherited - scrollLeft ↔ double
-
The
Element.scrollLeftproperty gets or sets the number of pixels by which an element's content is scrolled from its left edge. This value is subpixel precise in modern browsers, meaning that it isn't necessarily a whole number.getter/setter pairinherited - scrollTop ↔ double
-
The
Element.scrollTopproperty gets or sets the number of pixels by which an element's content is scrolled from its top edge. This value is subpixel precise in modern browsers, meaning that it isn't necessarily a whole number.getter/setter pairinherited - scrollWidth → int
-
The
Element.scrollWidthread-only property is a measurement of the width of an element's content, including content not visible on the screen due to overflow.no setterinherited - shadowRoot → ShadowRoot?
-
The
Element.shadowRootread-only property represents the shadow root hosted by the element.no setterinherited - slot ↔ String
-
The
slotproperty of theElementinterface returns the name of the shadow DOM slot the element is inserted in.getter/setter pairinherited - style → CSSStyleDeclaration
-
The read-only
styleproperty of the SVGElement returns the inline style of an element in the form of a live CSSStyleDeclaration object that contains a list of all styles properties for that element with values assigned only for the attributes that are defined in the element's inlinestyleattribute.no setterinherited - systemLanguage → SVGStringList
-
no setterinherited
- tabIndex ↔ int
-
getter/setter pairinherited
- tagName → String
-
The
tagNameread-only property of theElementinterface returns the tag name of the element on which it's called.no setterinherited - text ← String
-
Available on Node, provided by the NodeGlue extension
no getter - textContent ↔ String?
-
The
textContentproperty of theNodeinterface represents the text content of the node and its descendants.getter/setter pairinherited - textLength → SVGAnimatedLength
-
no setterinherited
- transform → SVGAnimatedTransformList
-
no setterinherited
- viewportElement → SVGElement?
-
no setterinherited
- x → SVGAnimatedLengthList
-
no setterinherited
- y → SVGAnimatedLengthList
-
no setterinherited
Methods
-
add(
JSAny? any) → JSAny -
Available on JSAny?, provided by the JSAnyOperatorExtension extension
The result ofin JavaScript.this+any -
addEventListener(
String type, EventListener? callback, [JSAny options]) → void -
The
addEventListener()method of the EventTarget interface sets up a function that will be called whenever the specified event is delivered to the target.inherited -
after(
JSAny nodes) → void -
The
Element.after()method inserts a set ofNodeor string objects in the children list of theElement's parent, just after theElement. String objects are inserted as equivalentTextnodes.inherited -
and(
JSAny? any) → JSAny? -
Available on JSAny?, provided by the JSAnyOperatorExtension extension
The result ofin JavaScript.this&&any -
animate(
JSObject? keyframes, [JSAny options]) → Animation -
The
Elementinterface'sanimate()method is a shortcut method which creates a new Animation, applies it to the element, then plays the animation. It returns the created Animation object instance.inherited -
append(
Node other) → Node -
Available on Node, provided by the NodeGlue extension
-
append(
JSAny nodes) → void -
The
Element.append()method inserts a set ofNodeobjects or string objects after the last child of theElement. String objects are inserted as equivalentTextnodes.inherited -
appendChild(
Node node) → Node -
The
appendChild()method of theNodeinterface adds a node to the end of the list of children of a specified parent node.inherited -
attachShadow(
ShadowRootInit init) → ShadowRoot -
The
Element.attachShadow()method attaches a shadow DOM tree to the specified element and returns a reference to its ShadowRoot.inherited -
before(
JSAny nodes) → void -
The
Element.before()method inserts a set ofNodeor string objects in the children list of thisElement's parent, just before thisElement. String objects are inserted as equivalentTextnodes.inherited -
blur(
) → void -
inherited
-
callMethod<
R extends JSAny?> (JSAny method, [JSAny? arg1, JSAny? arg2, JSAny? arg3, JSAny? arg4]) → R -
Available on JSObject, provided by the JSObjectUnsafeUtilExtension extension
Callsmethodon this JSObject with up to four arguments. -
callMethodVarArgs<
R extends JSAny?> (JSAny method, [List< JSAny?> ? arguments]) → R -
Available on JSObject, provided by the JSObjectUnsafeUtilExtension extension
Callsmethodon this JSObject with a variable number ofarguments. -
checkVisibility(
[CheckVisibilityOptions options]) → bool -
The
checkVisibility()method of theElementinterface checks whether the element is visible.inherited -
clone(
bool? deep) → Node -
Available on Node, provided by the NodeGlue extension
-
cloneNode(
[bool deep]) → Node -
The
cloneNode()method of theNodeinterface returns a duplicate of the node on which this method was called. Its parameter controls if the subtree contained in a node is also cloned or not.inherited -
closest(
String selectors) → Element? -
The
closest()method of theElementinterface traverses the element and its parents (heading toward the document root) until it finds a node that matches the specified CSS selector.inherited -
compareDocumentPosition(
Node other) → int -
The
compareDocumentPosition()method of theNodeinterface reports the position of its argument node relative to the node on which it is called.inherited -
computedStyleMap(
) → StylePropertyMapReadOnly -
The
computedStyleMap()method of theElementinterface returns a StylePropertyMapReadOnly interface which provides a read-only representation of a CSS declaration block that is an alternative to CSSStyleDeclaration.inherited -
contains(
Node? other) → bool -
The
contains()method of theNodeinterface returns a boolean value indicating whether a node is a descendant of a given node, that is the node itself, one of its direct children (Node.childNodes), one of the children's direct children, and so on.inherited -
dartify(
) → Object? -
Available on JSAny?, provided by the JSAnyUtilityExtension extension
Converts a JavaScript JSON-like value to the Dart equivalent if possible. -
delete(
JSAny property) → JSBoolean -
Available on JSObject, provided by the JSObjectUnsafeUtilExtension extension
Deletes the property with keypropertyfrom this JSObject. -
dispatchEvent(
Event event) → bool -
The
dispatchEvent()method of the EventTarget sends an Event to the object, (synchronously) invoking the affected event listeners in the appropriate order. The normal event processing rules (including the capturing and optional bubbling phase) also apply to events dispatched manually withdispatchEvent().inherited -
divide(
JSAny? any) → JSAny -
Available on JSAny?, provided by the JSAnyOperatorExtension extension
The result ofin JavaScript.this/any -
equals(
JSAny? any) → JSBoolean -
Available on JSAny?, provided by the JSAnyOperatorExtension extension
The result ofin JavaScript.this==any -
exponentiate(
JSAny? any) → JSAny -
Available on JSAny?, provided by the JSAnyOperatorExtension extension
The result ofin JavaScript.this**any -
focus(
[FocusOptions options]) → void -
inherited
-
getAnimations(
[GetAnimationsOptions options]) → JSArray< Animation> -
The
getAnimations()method of theElementinterface (specified on theAnimatablemixin) returns an array of all Animation objects affecting this element or which are scheduled to do so in future. It can optionally return Animation objects for descendant elements too.inherited -
getAttribute(
String qualifiedName) → String? -
The
getAttribute()method of theElementinterface returns the value of a specified attribute on the element.inherited -
getAttributeNames(
) → JSArray< JSString> -
The
getAttributeNames()method of theElementinterface returns the attribute names of the element as anArrayof strings. If the element has no attributes it returns an empty array.inherited -
getAttributeNode(
String qualifiedName) → Attr? -
Returns the specified attribute of the specified element, as an Attr
node.
inherited
-
getAttributeNodeNS(
String? namespace, String localName) → Attr? -
The
getAttributeNodeNS()method of theElementinterface returns the namespaced Attr node of an element.inherited -
getAttributeNS(
String? namespace, String localName) → String? -
The
getAttributeNS()method of theElementinterface returns the string value of the attribute with the specified namespace and name. If the named attribute does not exist, the value returned will either benullor""(the empty string); see Notes for details.inherited -
getBBox(
[SVGBoundingBoxOptions options]) → DOMRect -
The
SVGGraphicsElement.getBBox()method allows us to determine the coordinates of the smallest rectangle in which the object fits. The coordinates returned are with respect to the current SVG space (after the application of all geometry attributes on all the elements contained in the target element).inherited -
getBoundingClientRect(
) → DOMRect -
The
Element.getBoundingClientRect()method returns a DOMRect object providing information about the size of an element and its position relative to the viewport.inherited -
getCharNumAtPosition(
[DOMPointInit point]) → int -
inherited
-
getClientRects(
) → DOMRectList -
The
getClientRects()method of theElementinterface returns a collection of DOMRect objects that indicate the bounding rectangles for each CSS border box in a client.inherited -
getComputedTextLength(
) → double -
inherited
-
getCTM(
) → DOMMatrix? -
inherited
-
getElementsByClassName(
String classNames) → HTMLCollection -
The
ElementmethodgetElementsByClassName()returns a live HTMLCollection which contains every descendant element which has the specified class name or names.inherited -
getElementsByTagName(
String qualifiedName) → HTMLCollection -
The
Element.getElementsByTagName()method returns a live HTMLCollection of elements with the given tag name.inherited -
getElementsByTagNameNS(
String? namespace, String localName) → HTMLCollection -
The
Element.getElementsByTagNameNS()method returns a live HTMLCollection of elements with the given tag name belonging to the given namespace. It is similar to Document.getElementsByTagNameNS, except that its search is restricted to descendants of the specified element.inherited -
getEndPositionOfChar(
int charnum) → DOMPoint -
inherited
-
getExtentOfChar(
int charnum) → DOMRect -
inherited
-
getHTML(
[GetHTMLOptions options]) → String -
The
getHTML()method of theElementinterface is used to serialize an element's DOM to an HTML string.inherited -
getNumberOfChars(
) → int -
inherited
-
getProperty<
R extends JSAny?> (JSAny property) → R -
Available on JSObject, provided by the JSObjectUnsafeUtilExtension extension
The value of the property keypropertyof this JSObject. -
getRootNode(
[GetRootNodeOptions options]) → Node -
The
getRootNode()method of theNodeinterface returns the context object's root, which optionally includes the shadow root if it is available.inherited -
getRotationOfChar(
int charnum) → double -
inherited
-
getScreenCTM(
) → DOMMatrix? -
inherited
-
getStartPositionOfChar(
int charnum) → DOMPoint -
inherited
-
getSubStringLength(
int charnum, int nchars) → double -
inherited
-
greaterThan(
JSAny? any) → JSBoolean -
Available on JSAny?, provided by the JSAnyOperatorExtension extension
The result ofin JavaScript.this>any -
greaterThanOrEqualTo(
JSAny? any) → JSBoolean -
Available on JSAny?, provided by the JSAnyOperatorExtension extension
The result ofin JavaScript.this>=any -
has(
String property) → bool -
Available on JSObject, provided by the JSObjectUnsafeUtilExtension extension
Shorthand helper for hasProperty to check whether this JSObject contains the property keyproperty, but takes and returns a Dart value. -
hasAttribute(
String qualifiedName) → bool -
The
Element.hasAttribute()method returns a Boolean value indicating whether the specified element has the specified attribute or not.inherited -
hasAttributeNS(
String? namespace, String localName) → bool -
The
hasAttributeNS()method of theElementinterface returns a boolean value indicating whether the current element has the specified attribute with the specified namespace.inherited -
hasAttributes(
) → bool -
The
hasAttributes()method of theElementinterface returns a boolean value indicating whether the current element has any attributes or not.inherited -
hasChildNodes(
) → bool -
The
hasChildNodes()method of theNodeinterface returns a boolean value indicating whether the givenNodehas child nodes or not.inherited -
hasPointerCapture(
int pointerId) → bool -
The
hasPointerCapture()method of theElementinterface checks whether the element on which it is invoked has pointer capture for the pointer identified by the given pointer ID.inherited -
hasProperty(
JSAny property) → JSBoolean -
Available on JSObject, provided by the JSObjectUnsafeUtilExtension extension
Whether or not this JSObject contains the property keyproperty. -
insertAdjacentElement(
String where, Element element) → Element? -
The
insertAdjacentElement()method of theElementinterface inserts a given element node at a given position relative to the element it is invoked upon.inherited -
insertAdjacentHTML(
String position, JSAny string) → void -
The
insertAdjacentHTML()method of theElementinterface parses the specified text as HTML or XML and inserts the resulting nodes into the DOM tree at a specified position.inherited -
insertAdjacentText(
String where, String data) → void -
The
insertAdjacentText()method of theElementinterface, given a relative position and a string, inserts a new text node at the given position relative to the element it is called from.inherited -
insertBefore(
Node node, Node? child) → Node -
The
insertBefore()method of theNodeinterface inserts a node before a reference node as a child of a specified parent node.inherited -
instanceof(
JSFunction constructor) → bool -
Available on JSAny?, provided by the JSAnyUtilityExtension extension
Whether thisJSAny?is aninstanceofconstructor. -
instanceOfString(
String constructorName) → bool -
Available on JSAny?, provided by the JSAnyUtilityExtension extension
Whether thisJSAny?is aninstanceofthe constructor that is defined byconstructorName, which is looked up in the globalContext. -
isA<
T extends JSAny?> () → bool -
Available on JSAny?, provided by the JSAnyUtilityExtension extension
Whether thisJSAny?is an instance of the JavaScript type that is declared byT. -
isDefaultNamespace(
String? namespace) → bool -
The
isDefaultNamespace()method of theNodeinterface accepts a namespace URI as an argument. It returns a boolean value that istrueif the namespace is the default namespace on the given node andfalseif not.inherited -
isEqualNode(
Node? otherNode) → bool -
The
isEqualNode()method of theNodeinterface tests whether two nodes are equal. Two nodes are equal when they have the same type, defining characteristics (for elements, this would be their ID, number of children, and so forth), its attributes match, and so on. The specific set of data points that must match varies depending on the types of the nodes.inherited -
isSameNode(
Node? otherNode) → bool -
The
isSameNode()method of theNodeinterface is a legacy alias the for the===strict equality operator. That is, it tests whether two nodes are the same (in other words, whether they reference the same object).inherited -
lessThan(
JSAny? any) → JSBoolean -
Available on JSAny?, provided by the JSAnyOperatorExtension extension
The result ofin JavaScript.this<any -
lessThanOrEqualTo(
JSAny? any) → JSBoolean -
Available on JSAny?, provided by the JSAnyOperatorExtension extension
The result ofin JavaScript.this<=any -
lookupNamespaceURI(
String? prefix) → String? -
The
lookupNamespaceURI()method of theNodeinterface takes a prefix as parameter and returns the namespace URI associated with it on the given node if found (andnullif not).inherited -
lookupPrefix(
String? namespace) → String? -
The
lookupPrefix()method of theNodeinterface returns a string containing the prefix for a given namespace URI, if present, andnullif not. When multiple prefixes are possible, the first prefix is returned.inherited -
matches(
String selectors) → bool -
The
matches()method of theElementinterface tests whether the element would be selected by the specified CSS selector.inherited -
modulo(
JSAny? any) → JSAny -
Available on JSAny?, provided by the JSAnyOperatorExtension extension
The result ofin JavaScript.this%any -
multiply(
JSAny? any) → JSAny -
Available on JSAny?, provided by the JSAnyOperatorExtension extension
The result ofin JavaScript.this*any -
normalize(
) → void -
The
normalize()method of theNodeinterface puts the specified node and all of its sub-tree into a normalized form. In a normalized sub-tree, no text nodes in the sub-tree are empty and there are no adjacent text nodes.inherited -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
notEquals(
JSAny? any) → JSBoolean -
Available on JSAny?, provided by the JSAnyOperatorExtension extension
The result ofin JavaScript.this!=any -
on(
String type, void listener(Event), [bool? useCapture]) → void -
Available on EventTarget, provided by the SparkEventTargetExtension extension
Adds an event listener to this target with automatic Dart-to-JS callback conversion. -
or(
JSAny? any) → JSAny? -
Available on JSAny?, provided by the JSAnyOperatorExtension extension
The result ofin JavaScript.this||any -
prepend(
JSAny nodes) → void -
The
Element.prepend()method inserts a set ofNodeobjects or string objects before the first child of theElement. String objects are inserted as equivalentTextnodes.inherited -
querySelector(
String selectors) → Element? -
The
querySelector()method of theElementinterface returns the first element that is a descendant of the element on which it is invoked that matches the specified group of selectors.inherited -
querySelectorAll(
String selectors) → NodeList -
The
ElementmethodquerySelectorAll()returns a static (not live) NodeList representing a list of elements matching the specified group of selectors which are descendants of the element on which the method was called.inherited -
releasePointerCapture(
int pointerId) → void -
The
releasePointerCapture()method of theElementinterface releases (stops) pointer capture that was previously set for a specific (PointerEvent) pointer.inherited -
remove(
) → void -
The
Element.remove()method removes the element from the DOM.inherited -
removeAttribute(
String qualifiedName) → void -
The
ElementmethodremoveAttribute()removes the attribute with the specified name from the element.inherited -
removeAttributeNode(
Attr attr) → Attr -
The
removeAttributeNode()method of theElementinterface removes the specified Attr node from the element.inherited -
removeAttributeNS(
String? namespace, String localName) → void -
The
removeAttributeNS()method of theElementinterface removes the specified attribute with the specified namespace from an element.inherited -
removeChild(
Node child) → Node -
The
removeChild()method of theNodeinterface removes a child node from the DOM and returns the removed node.inherited -
removeEventListener(
String type, EventListener? callback, [JSAny options]) → void -
The
removeEventListener()method of the EventTarget interface removes an event listener previously registered with EventTarget.addEventListener from the target. The event listener to be removed is identified using a combination of the event type, the event listener function itself, and various optional options that may affect the matching process; see Matching event listeners for removal.inherited -
replaceChild(
Node node, Node child) → Node -
The
replaceChild()method of theNodeinterface replaces a child node within the given (parent) node.inherited -
replaceChildren(
JSAny nodes) → void -
The
Element.replaceChildren()method replaces the existing children of aNodewith a specified new set of children. These can be string orNodeobjects.inherited -
replaceWith(
JSAny nodes) → void -
The
Element.replaceWith()method replaces thisElementin the children list of its parent with a set ofNodeor string objects. String objects are inserted as equivalentTextnodes.inherited -
requestFullscreen(
[FullscreenOptions options]) → JSPromise< JSAny?> -
The
Element.requestFullscreen()method issues an asynchronous request to make the element be displayed in fullscreen mode.inherited -
requestPointerLock(
[PointerLockOptions options]) → JSPromise< JSAny?> -
The
requestPointerLock()method of theElementinterface lets you asynchronously ask for the pointer to be locked on the given element.inherited -
scroll(
[JSAny optionsOrX, num y]) → void -
The
scroll()method of theElementinterface scrolls the element to a particular set of coordinates inside a given element.inherited -
scrollBy(
[JSAny optionsOrX, num y]) → void -
The
scrollBy()method of theElementinterface scrolls an element by the given amount.inherited -
scrollIntoView(
[JSAny arg]) → void -
The
Elementinterface'sscrollIntoView()method scrolls the element's ancestor containers such that the element on whichscrollIntoView()is called is visible to the user.inherited -
scrollTo(
[JSAny optionsOrX, num y]) → void -
The
scrollTo()method of theElementinterface scrolls to a particular set of coordinates inside a given element.inherited -
selectSubString(
int charnum, int nchars) → void -
inherited
-
setAttribute(
String qualifiedName, String value) → void -
The
setAttribute()method of theElementinterface sets the value of an attribute on the specified element. If the attribute already exists, the value is updated; otherwise a new attribute is added with the specified name and value.inherited -
setAttributeNode(
Attr attr) → Attr? -
The
setAttributeNode()method of theElementinterface adds a new Attr node to the specified element.inherited -
setAttributeNodeNS(
Attr attr) → Attr? -
The
setAttributeNodeNS()method of theElementinterface adds a new namespaced Attr node to an element.inherited -
setAttributeNS(
String? namespace, String qualifiedName, String value) → void -
setAttributeNSadds a new attribute or changes the value of an attribute with the given namespace and name.inherited -
setHTMLUnsafe(
JSAny html) → void -
The
setHTMLUnsafe()method of theElementinterface is used to parse a string of HTML into a DocumentFragment, which then replaces the element's subtree in the DOM. The input HTML may include declarative shadow roots.inherited -
setPointerCapture(
int pointerId) → void -
The
setPointerCapture()method of theElementinterface is used to designate a specific element as the capture target of future pointer events. Subsequent events for the pointer will be targeted at the capture element until capture is released (viaElement.releasePointerCaptureor theElement.pointerup_eventevent is fired).inherited -
setProperty(
JSAny property, JSAny? value) → void -
Available on JSObject, provided by the JSObjectUnsafeUtilExtension extension
Write thevalueof property keypropertyof this JSObject. -
strictEquals(
JSAny? any) → JSBoolean -
Available on JSAny?, provided by the JSAnyOperatorExtension extension
The result ofin JavaScript.this===any -
strictNotEquals(
JSAny? any) → JSBoolean -
Available on JSAny?, provided by the JSAnyOperatorExtension extension
The result ofin JavaScript.this!==any -
subtract(
JSAny? any) → JSAny -
Available on JSAny?, provided by the JSAnyOperatorExtension extension
The result ofin JavaScript.this-any -
toggleAttribute(
String qualifiedName, [bool force]) → bool -
The
toggleAttribute()method of theElementinterface toggles a Boolean attribute (removing it if it is present and adding it if it is not present) on the given element.inherited -
toString(
) → String -
A string representation of this object.
inherited
-
typeofEquals(
String typeString) → bool -
Available on JSAny?, provided by the JSAnyUtilityExtension extension
Whether the result oftypeofon thisJSAny?istypeString. -
unsignedRightShift(
JSAny? any) → JSNumber -
Available on JSAny?, provided by the JSAnyOperatorExtension extension
The result ofin JavaScript.this>>>any
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
-
operator [](
String property) → JSAny? -
Available on JSObject, provided by the JSObjectUnsafeUtilExtension extension
Shorthand helper for getProperty to get the value of the property keypropertyof this JSObject, but takes a Dart value. -
operator []=(
String property, JSAny? value) → void -
Available on JSObject, provided by the JSObjectUnsafeUtilExtension extension
Shorthand helper for setProperty to write thevalueof the property keypropertyof this JSObject, but takes a Dart value.