Lightweight browser API bindings built around JS static interop.
BSD-3-CLAUSE License
Bot releases are hidden (Show)
external
constructors.onUnload
event stream to ElementEventGetters
extension methods.ElementStream
as a public class.^3.4.0
.double
instead of num
. This isnum
, which has different semanticsPublished by srujzs 8 months ago
TrustedTypes
members.external
Element constructors that would result in a runtime error.createAudioElement
in favor of the HTMLAudioElement
constructor.Published by srujzs 8 months ago
0.4.1
but undeprecated in 0.4.2
.dart fix
migrations from dart:html
classes topackage:web
classes.dart:html
topackage:web
(see renames.md).JSObject
.JSArray
and JSPromise
. Typedefs of a DartJSArray
and JSPromise
.record
types to be JSObject
instead of JSAny
.3.43.1
.Deprecated | Preferred |
---|---|
AudioElement |
HTMLAudioElement |
HtmlElement |
HTMLElement |
CanvasElement |
HTMLCanvasElement |
ImageElement |
HTMLImageElement |
VideoElement |
HTMLVideoElement |
CssStyleDeclaration |
CSSStyleDeclaration |
ContextEvent |
WebGLContextEvent |
WebGL |
WebGLRenderingContext |
createElementTag
, createCanvasElement
,createIFrameElement
, and querySelector
functions.document
.client
extension methods on MouseEvent
and Touch
.clientX
and clientY
properties.HttpRequest
API borrowed from dart:html
.package:http
instead.Published by srujzs 9 months ago
Published by devoncarew 9 months ago
web.dart
.helpers.dart
library in favor of web.dart
.WebSocket
append()
and clone()
extension methods on Node
.NodeGlue.append
in favor of Node.appendChild
.NodeGlue.clone
in favor of Node.cloneNode
.@webref/css
to 6.10.0
.Published by kevmoo about 1 year ago
v3.39.1
.typedef
s were not declared with the IDL type'sdouble
are now aliased to num
. This is to makedart:html
easier.