html library

Classes

AbortPaymentEvent
AbstractWorker
AccessibleNode
AccessibleNodeList
AnchorElement
Animation
AnimationEffectTiming
AnimationEffectTimingReadOnly
AnimationEvent
AnimationPlaybackEvent
AnimationTimeline
ApplicationCache
AreaElement
AudioElement
BackgroundFetchedEvent
BackgroundFetchEvent
BackgroundFetchFailEvent
BackgroundFetchManager
BackgroundFetchRegistration
BaseElement
BeforeInstallPromptEvent
BeforeUnloadEvent
Blob
BlobEvent
Body
BodyElement
BRElement
ButtonElement
ButtonInputElement
CacheStorage
CanMakePaymentEvent
CanvasCaptureMediaStreamTrack
CanvasElement
CanvasGradient
CanvasImageSource
CanvasPattern
CanvasRenderingContext
CanvasRenderingContext2D
CharacterData
CheckboxInputElement
ChildNode
Client
Clients
ClipboardEvent
CloseEvent
Comment
CompositionEvent
Console
ContentElement
CookieStore
Coordinates
Credential
CredentialsContainer
Crypto
CryptoKey
CssClassSet
A Set that stores the CSS class names for an element.
CssImportRule
CssRect
A class for representing CSS dimensions. [...]
CssRule
CssStyleDeclaration
CssStyleDeclarationBase
CssStyleRule
CssStyleSheet
CssStyleValue
CssViewportRule
CustomElementRegistry
CustomEvent
DataElement
DataListElement
DataTransfer
DataTransferItem
DataTransferItemList
DateInputElement
DeprecatedStorageQuota
DetailsElement
DeviceAcceleration
DeviceMotionEvent
DeviceOrientationEvent
DeviceRotationRate
DialogElement
Dimension
Class representing a length measurement in CSS.
DirectoryEntry
DirectoryReader
DivElement
DListElement
Document
DocumentFragment
DocumentOrShadowRoot
DocumentTimeline
DomImplementation
DomMatrix
DomMatrixReadOnly
DomParser
DomTokenList
Element
ElementEvents
ElementList<T extends Element>
An immutable list containing HTML elements. This list contains some additional methods when compared to regular lists for ease of CSS manipulation on a group of elements.
ElementStream<T extends Event>
A specialized Stream available to Elements to enable event delegation.
EmailInputElement
EmbedElement
Entry
ErrorEvent
Event
Events
Base class that supports listening for and dispatching browser events. [...]
EventSource
EventStreamProvider<T extends Event>
A factory to expose DOM events as Streams.
EventTarget
ExtendableEvent
External
FetchEvent
FieldSetElement
File
FileEntry
FileReader
FileSystem
FileUploadInputElement
FileWriter
FocusEvent
ForeignFetchEvent
FormData
FormElement
Gamepad
GamepadButton
GamepadPose
Geolocation
Geoposition
GlobalEventHandlers
HashChangeEvent
HeadElement
Headers
HeadingElement
HiddenInputElement
History
HRElement
HtmlDocument
HtmlElement
HtmlHtmlElement
HtmlHyperlinkElementUtils
HttpRequest
A client-side XHR request for getting data from a URL, formally known as XMLHttpRequest. [...]
HttpRequestEventTarget
HttpRequestUpload
HttpStatus
HTTP status codes. Exported in dart:io and dart:html.
IdleDeadline
IFrameElement
ImageBitmap
ImageButtonInputElement
ImageCapture
ImageData
ImageElement
InputDeviceCapabilities
InputElement
InputElementBase
InstallEvent
KeyboardEvent
KeyCode
Defines the keycode values for keys that are returned by KeyboardEvent.keyCode. [...]
KeyEvent
LabelElement
LegendElement
LIElement
LinkElement
LocalDateTimeInputElement
Location
MapElement
MediaCapabilities
MediaCapabilitiesInfo
MediaDeviceInfo
MediaDevices
MediaElement
MediaKeys
MediaMetadata
MediaQueryList
MediaRecorder
MediaSession
MediaSettingsRange
MediaSource
MediaStream
MediaStreamEvent
MediaStreamTrack
MediaStreamTrackEvent
MessageEvent
MessagePort
Metadata
MetaElement
MeterElement
MimeType
ModElement
MonthInputElement
MouseEvent
NetworkInformation
Node
NodeTreeSanitizer
Performs sanitization of a node tree after construction to ensure that it does not contain any disallowed elements or attributes. [...]
NodeValidator
Interface used to validate that only accepted elements and attributes are allowed while parsing HTML strings into DOM nodes. [...]
NodeValidatorBuilder
Class which helps construct standard node validation policies. [...]
NoncedElement
NonDocumentTypeChildNode
Notification
NotificationEvent
NumberInputElement
ObjectElement
OffscreenCanvas
OffscreenCanvasRenderingContext2D
OListElement
OptGroupElement
OptionElement
OutputElement
PageTransitionEvent
ParagraphElement
ParamElement
ParentNode
PasswordInputElement
Path2D
PaymentInstruments
PaymentManager
PaymentRequestEvent
PaymentRequestUpdateEvent
Performance
Permissions
PermissionStatus
PhotoCapabilities
PictureElement
Platform
Plugin
Point<T extends num>
A utility class for representing two-dimensional positions.
PointerEvent
PopStateEvent
PreElement
Presentation
PresentationAvailability
PresentationConnection
PresentationConnectionAvailableEvent
PresentationConnectionCloseEvent
PresentationConnectionList
PresentationReceiver
PresentationRequest
ProcessingInstruction
ProgressElement
ProgressEvent
PushEvent
PushManager
PushMessageData
PushSubscription
PushSubscriptionOptions
QuoteElement
RadioButtonInputElement
Range
RangeInputElement
RangeInputElementBase
Base interface for all input element types which involve ranges.
Rectangle<T extends num>
A class for representing two-dimensional rectangles whose properties are immutable.
RelatedApplication
ResetButtonInputElement
RtcDataChannel
RtcDataChannelEvent
RtcDtmfSender
RtcPeerConnection
RtcPeerConnectionIceEvent
RtcRtpReceiver
RtcRtpSender
RtcSessionDescription
RtcStatsReport
RtcStatsResponse
Screen
ScreenOrientation
ScriptElement
ScrollAlignment
ScrollState
ScrollTimeline
SearchInputElement
SecurityPolicyViolationEvent
SelectElement
Selection
SensorErrorEvent
ServiceWorker
ServiceWorkerContainer
ServiceWorkerGlobalScope
ServiceWorkerRegistration
ShadowElement
ShadowRoot
SlotElement
SourceBuffer
SourceElement
SpanElement
SpeechSynthesis
SpeechSynthesisEvent
SpeechSynthesisUtterance
SpeechSynthesisVoice
Storage
The type used by the Window.localStorage and Window.sessionStorage properties. Storage is implemented as a Map<String, String>. [...]
StorageEvent
StorageManager
StyleElement
StyleMedia
StylePropertyMap
StylePropertyMapReadonly
StyleSheet
SubmitButtonInputElement
SyncEvent
SyncManager
TableCaptionElement
TableCellElement
TableColElement
TableElement
TableRowElement
TableSectionElement
TelephoneInputElement
TemplateElement
Text
TextAreaElement
TextEvent
TextInputElement
TextInputElementBase
TextMetrics
TextTrack
TimeElement
TimeInputElement
TitleElement
Touch
TouchEvent
TouchList
TrackElement
TrackEvent
TransitionEvent
UIEvent
UListElement
UnknownElement
UriPolicy
Defines the policy for what types of uris are allowed for particular attribute values. [...]
Url
UrlInputElement
ValidityState
VideoElement
VideoPlaybackQuality
VisualViewport
VR
WebSocket
WeekInputElement
WheelEvent
Window
WindowBase
WindowClient
WindowEventHandlers
WorkerGlobalScope
XmlDocument

Properties

document HtmlDocument
read-only
window Window
read-only

Functions

querySelector<T extends Element>(String s) → T
Finds the first descendant element of this document that matches the specified group of selectors. [...]
querySelectorAll<T extends Element>(String s) ElementList<T>
Finds all descendant elements of this document that match the specified group of selectors. [...]

Typedefs

BlobCallback(Blob blob) → void
EventListener(Event event) → dynamic
FrameRequestCallback(num highResTime) → void
IdleRequestCallback(IdleDeadline deadline) → void
MediaSessionActionHandler() → void
RtcPeerConnectionErrorCallback(DomException exception) → void
StorageErrorCallback(DomError error) → void
StorageQuotaCallback(int grantedQuotaInBytes) → void
StorageUsageCallback(int currentUsageInBytes int currentQuotaInBytes) → void
VoidCallback() → void

Exceptions / Errors

DomError
DomException