HTMLSourceElement$Typings extension

on

Properties

addEventListener → ({void Function<K$>(HTMLElementEventMap<K$> type, dynamic listener(K$), [Object? options]) $1, void Function(String type, Object listener, [Object? options]) $2})

Available on HTMLSourceElement, provided by the HTMLSourceElement$Typings extension

Overload accessor: $1, $2
no setter
height num

Available on HTMLSourceElement, provided by the HTMLSourceElement$Typings extension

getter/setter pair
media String

Available on HTMLSourceElement, provided by the HTMLSourceElement$Typings extension

Gets or sets the intended media type of the media source.
getter/setter pair
removeEventListener → ({void Function<K$>(HTMLElementEventMap<K$> type, dynamic listener(K$), [Object? options]) $1, void Function(String type, Object listener, [Object? options]) $2})

Available on HTMLSourceElement, provided by the HTMLSourceElement$Typings extension

Overload accessor: $1, $2
no setter
sizes String

Available on HTMLSourceElement, provided by the HTMLSourceElement$Typings extension

MDN Reference
getter/setter pair
src String

Available on HTMLSourceElement, provided by the HTMLSourceElement$Typings extension

The address or URL of the a media resource that is to be considered.
getter/setter pair
srcset String

Available on HTMLSourceElement, provided by the HTMLSourceElement$Typings extension

MDN Reference
getter/setter pair
type String

Available on HTMLSourceElement, provided by the HTMLSourceElement$Typings extension

Gets or sets the MIME type of a media resource.
getter/setter pair
width num

Available on HTMLSourceElement, provided by the HTMLSourceElement$Typings extension

getter/setter pair