A button to open the file picker interface.
The file path selected.
A reference to the FilePicker application instance originated by this element.
Protected
_internalsAttached ElementInternals which provides form handling functionality.
Protected
_primaryThe primary input (if any). Used to determine what element should receive focus when an associated label is clicked on.
Protected
_valueThe underlying value of the element.
Static
formDeclare that this custom element provides form element functionality.
Static
observedAttributes requiring change notifications
Static
tagAn AbortSignal that can be passed to event listeners registered in subclasses. The signal will ensure that the listener is removed when the element is disconnected from the DOM. Not available in the constructor.
Is this element disabled?
Is this field editable? The field can be neither disabled nor readonly.
The form this element belongs to.
The input element name.
Prevent uploading new files as part of this element's FilePicker dialog.
A type of file which can be selected in this field.
The value of the input element.
Internal
Apply key attributes on the containing custom HTML element to input elements contained within it.
Initialize the custom element, constructing its HTML.
Protected
_disconnectProtected
A method provided for subclasses to perform tear-down workflows as an alternative to overriding disconnectedCallback.
Protected
_getProtected
Return the value of the input element which should be submitted to the form.
Protected
_onProtected
Special handling when the custom element is clicked. This should be implemented to transfer focus to an appropriate internal element.
Protected
_setStatic
createCreate a HTMLFilePickerElement using provided configuration data.
A custom HTML element responsible for rendering a file input field and associated FilePicker button.