FileUploadInputElement class

A control for picking files from the user's computer.

A control for picking files from the user's computer.

Implements
Implemented by

Constructors

FileUploadInputElement()

Instance Properties

accept String
read / write
multiple bool
read / write
required bool
read / write
files List<File>
read / write
dropzone String Inherited
read / write
onMouseMove ElementStream<MouseEvent> Inherited
read-only
value String Inherited
read / write
onFullscreenError ElementStream<Event> Inherited
read-only
onTouchEnter ElementStream<TouchEvent> Inherited
read-only
xtag dynamic Inherited
read / write
validity ValidityState Inherited
read-only
title String Inherited
read / write
onKeyPress ElementStream<KeyboardEvent> Inherited
read-only
shadowRoot ShadowRoot Inherited
read-only
previousElementSibling Element Inherited
read-only
onSeeked ElementStream<Event> Inherited
read-only
offsetHeight int Inherited
read-only
dir String Inherited
read / write
autofocus bool Inherited
read / write
lang String Inherited
read / write
contentEdge CssRect Inherited
read-only
onReset ElementStream<Event> Inherited
read-only
onPause ElementStream<Event> Inherited
read-only
onCut ElementStream<Event> Inherited
read-only
onMouseWheel ElementStream<WheelEvent> Inherited
read-only
borderEdge CssRect Inherited
read-only
onFocus ElementStream<Event> Inherited
read-only
onSearch ElementStream<Event> Inherited
read-only
onRateChange ElementStream<Event> Inherited
read-only
onDrop ElementStream<MouseEvent> Inherited
read-only
id String Inherited
read / write
onBeforePaste ElementStream<Event> Inherited
read-only
onSuspend ElementStream<Event> Inherited
read-only
parent Element Inherited
read-only
incremental bool Inherited
read / write
onResize ElementStream<Event> Inherited
read-only
scrollTop int Inherited
read / write
contextMenu MenuElement Inherited
read / write
indeterminate bool Inherited
read / write
onClick ElementStream<MouseEvent> Inherited
read-only
onSelectStart ElementStream<Event> Inherited
read-only
lastChild Node Inherited
read-only
onInput ElementStream<Event> Inherited
read-only
onLoad ElementStream<Event> Inherited
read-only
onDoubleClick ElementStream<Event> Inherited
read-only
onMouseOver ElementStream<MouseEvent> Inherited
read-only
nodeName String Inherited
read-only
onStalled ElementStream<Event> Inherited
read-only
children List<Element> Inherited
read / write
on ElementEvents Inherited
read-only
dataset Map<String,String> Inherited
read / write
childNodes List<Node> Inherited
read-only
innerHtml String Inherited
read / write
onTouchStart ElementStream<TouchEvent> Inherited
read-only
onBeforeCut ElementStream<Event> Inherited
read-only
documentOffset Point Inherited
read-only
name String Inherited
read / write
attributes Map<String,String> Inherited
read / write
localName String Inherited
read-only
offsetLeft int Inherited
read-only
onPlaying ElementStream<Event> Inherited
read-only
clientWidth int Inherited
read-only
nextNode Node Inherited
read-only
hidden bool Inherited
read / write
nextElementSibling Element Inherited
read-only
style CssStyleDeclaration Inherited
read-only
onChange ElementStream<Event> Inherited
read-only
tagName String Inherited
read-only
onMouseOut ElementStream<MouseEvent> Inherited
read-only
onLoadedMetadata ElementStream<Event> Inherited
read-only
isContentEditable bool Inherited
read-only
scrollHeight int Inherited
read-only
validationMessage String Inherited
read-only
onCanPlay ElementStream<Event> Inherited
read-only
parentNode Node Inherited
read-only
onAbort ElementStream<Event> Inherited
read-only
outerHtml String Inherited
read-only
onVolumeChange ElementStream<Event> Inherited
read-only
clientLeft int Inherited
read-only
onSelect ElementStream<Event> Inherited
read-only
onSubmit ElementStream<Event> Inherited
read-only
nodes List<Node> Inherited
read / write
draggable bool Inherited
read / write
translate bool Inherited
read / write
onContextMenu ElementStream<MouseEvent> Inherited
read-only
spellcheck bool Inherited
read / write
onTimeUpdate ElementStream<Event> Inherited
read-only
labels List<Node> Inherited
read-only
onTouchMove ElementStream<TouchEvent> Inherited
read-only
classes CssClassSet Inherited
read / write
onEmptied ElementStream<Event> Inherited
read-only
onKeyUp ElementStream<KeyboardEvent> Inherited
read-only
namespaceUri String Inherited
read-only
willValidate bool Inherited
read-only
onCopy ElementStream<Event> Inherited
read-only
onTouchCancel ElementStream<TouchEvent> Inherited
read-only
onError ElementStream<Event> Inherited
read-only
onMouseEnter ElementStream<MouseEvent> Inherited
read-only
className String Inherited
read / write
onMouseUp ElementStream<MouseEvent> Inherited
read-only
nodeValue String Inherited
read-only
baseUri String Inherited
read-only
onDragLeave ElementStream<MouseEvent> Inherited
read-only
onDragEnter ElementStream<MouseEvent> Inherited
read-only
paddingEdge CssRect Inherited
read-only
onDragOver ElementStream<MouseEvent> Inherited
read-only
contentEditable String Inherited
read / write
onDrag ElementStream<MouseEvent> Inherited
read-only
onKeyDown ElementStream<KeyboardEvent> Inherited
read-only
ownerDocument Document Inherited
read-only
onLoadedData ElementStream<Event> Inherited
read-only
onBlur ElementStream<Event> Inherited
read-only
onDragStart ElementStream<MouseEvent> Inherited
read-only
offsetParent Element Inherited
read-only
onTouchEnd ElementStream<TouchEvent> Inherited
read-only
scrollLeft int Inherited
read / write
onBeforeCopy ElementStream<Event> Inherited
read-only
onTouchLeave ElementStream<TouchEvent> Inherited
read-only
onInvalid ElementStream<Event> Inherited
read-only
tabIndex int Inherited
read / write
client Rectangle Inherited
read-only
onSeeking ElementStream<Event> Inherited
read-only
onEnded ElementStream<Event> Inherited
read-only
onPaste ElementStream<Event> Inherited
read-only
scrollWidth int Inherited
read-only
offsetTop int Inherited
read-only
onMouseLeave ElementStream<MouseEvent> Inherited
read-only
text String Inherited
read / write
clientTop int Inherited
read-only
previousNode Node Inherited
read-only
onPlay ElementStream<Event> Inherited
read-only
onWaiting ElementStream<Event> Inherited
read-only
marginEdge CssRect Inherited
read-only
firstChild Node Inherited
read-only
disabled bool Inherited
read / write
onMouseDown ElementStream<MouseEvent> Inherited
read-only
clientHeight int Inherited
read-only
onDurationChange ElementStream<Event> Inherited
read-only
nodeType int Inherited
read-only
onDragEnd ElementStream<MouseEvent> Inherited
read-only
onFullscreenChange ElementStream<Event> Inherited
read-only
offset Rectangle Inherited
read-only
onScroll ElementStream<Event> Inherited
read-only
offsetWidth int Inherited
read-only
onTransitionEnd ElementStream<TransitionEvent> Inherited
read-only
onCanPlayThrough ElementStream<Event> Inherited
read-only

Instance Methods

scrollIntoView([ScrollAlignment alignment]) → void Inherited
Scrolls this element into view.
setAttributeNS(String namespaceURI, String qualifiedName, String value) → void Inherited
remove() → void Inherited
Removes this node from the DOM.
contains(Node other) → bool Inherited
Returns true if this node contains the specified node.
requestPointerLock() → void Inherited
attached() → void Inherited
Called by the DOM when this element has been inserted into the live document.
getAttributeNS(String namespaceURI, String localName) → String Inherited
queryAll(String relativeSelectors) → ElementList<Element> Inherited
Alias for querySelectorAll. Note this function is deprecated because its semantics will be changing in the future.
getBoundingClientRect() → Rectangle Inherited
Returns the smallest bounding rectangle that encompasses this element's padding, scrollbar, and border.
setCustomValidity(String error) → void Inherited
insertAllBefore(Iterable<Node> newNodes, Node refChild) → Node Inherited
Inserts all of the nodes into this node directly before refChild.
insertBefore(Node newChild, Node refChild) → Node Inherited
Inserts all of the nodes into this node directly before refChild.
blur() → void Inherited
leftView() → void Inherited
Deprecated*: override detached instead.
matches(String selectors) → bool Inherited
createFragment(String html, {NodeValidator validator, NodeTreeSanitizer treeSanitizer}) → DocumentFragment Inherited
Create a DocumentFragment from the HTML fragment and ensure that it follows the sanitization rules specified by the validator or treeSanitizer.
requestFullscreen() → void Inherited
clone(bool deep) → Node Inherited
Returns a copy of this node.
attributeChanged(String name, String oldValue, String newValue) → void Inherited
Called by the DOM whenever an attribute on this has been changed.
append(Node newChild) → Node Inherited
Adds a node to the end of the child nodes list of this node.
getElementsByClassName(String classNames) → List<Node> Inherited
Returns a list of nodes with the given class name inside this element.
querySelectorAll(String selectors) → ElementList<Element> Inherited
Finds all descendent elements of this element that match the specified group of selectors.
replaceWith(Node otherNode) → Node Inherited
Replaces this node with another node.
offsetTo(Element parent) → Point Inherited
Provides the offset of this element's borderEdge relative to the specified parent.
getAttribute(String name) → String Inherited
appendHtml(String text, {NodeValidator validator, NodeTreeSanitizer treeSanitizer}) → void Inherited
Parses the specified text as HTML and adds the resulting node after the last child of this element.
dispatchEvent(Event event) → bool Inherited
createShadowRoot() → ShadowRoot Inherited
appendText(String text) → void Inherited
Adds the specified text after the last child of this element.
click() → void Inherited
checkValidity() → bool Inherited
enteredView() → void Inherited
Deprecated*: override attached instead.
addEventListener(String type, dynamic listener(Event event), [bool useCapture]) → void Inherited
animate(Object effect, [Object timing]) → AnimationPlayer Inherited
setAttribute(String name, String value) → void Inherited
getAnimationPlayers() → List<AnimationPlayer> Inherited
insertAdjacentText(String where, String text) → void Inherited
query(String relativeSelectors) → Element Inherited
Alias for querySelector. Note this function is deprecated because its semantics will be changing in the future.
insertAdjacentHtml(String where, String html, {NodeValidator validator, NodeTreeSanitizer treeSanitizer}) → void Inherited
Parses text as an HTML fragment and inserts it into the DOM at the specified location.
insertAdjacentElement(String where, Element element) → Element Inherited
hasChildNodes() → bool Inherited
Returns true if this node has any children.
getDestinationInsertionPoints() → List<Node> Inherited
Returns a list of shadow DOM insertion points to which this element is distributed.
getComputedStyle([String pseudoElement]) → CssStyleDeclaration Inherited
The set of all CSS values applied to this element, including inherited and default values.
querySelector(String selectors) → Element Inherited
Finds the first descendant element of this element that matches the specified group of selectors.
getNamespacedAttributes(String namespace) → Map<String,String> Inherited
Gets a map for manipulating the attributes of a particular namespace.
setInnerHtml(String html, {NodeValidator validator, NodeTreeSanitizer treeSanitizer}) → void Inherited
Parses the HTML fragment and sets it as the contents of this element. This ensures that the generated content follows the sanitization rules specified by the validator or treeSanitizer.
removeEventListener(String type, dynamic listener(Event event), [bool useCapture]) → void Inherited
detached() → void Inherited
Called by the DOM when this element has been removed from the live document.
focus() → void Inherited
matchesWithAncestors(String selectors) → bool Inherited
Checks if this element or any of its parents match the CSS selectors.
getClientRects() → List<Rectangle> Inherited
Returns a list of bounding rectangles for each box associated with this element.