HTMLImageElement$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 HTMLImageElement, provided by the HTMLImageElement$Typings extension

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

Available on HTMLImageElement, provided by the HTMLImageElement$Typings extension

Sets or retrieves how the object is aligned with adjacent text. @deprecated
getter/setter pair
alt String

Available on HTMLImageElement, provided by the HTMLImageElement$Typings extension

Sets or retrieves a text alternative to the graphic.
getter/setter pair
border String

Available on HTMLImageElement, provided by the HTMLImageElement$Typings extension

Specifies the properties of a border drawn around an object. @deprecated
getter/setter pair
complete bool

Available on HTMLImageElement, provided by the HTMLImageElement$Typings extension

Retrieves whether the object is fully loaded.
no setter
crossOrigin String?

Available on HTMLImageElement, provided by the HTMLImageElement$Typings extension

MDN Reference
getter/setter pair
currentSrc String

Available on HTMLImageElement, provided by the HTMLImageElement$Typings extension

MDN Reference
no setter
decode Future<void> Function()

Available on HTMLImageElement, provided by the HTMLImageElement$Typings extension

getter/setter pair
decoding Decoding

Available on HTMLImageElement, provided by the HTMLImageElement$Typings extension

MDN Reference
getter/setter pair
height num

Available on HTMLImageElement, provided by the HTMLImageElement$Typings extension

Sets or retrieves the height of the object.
getter/setter pair
hspace num

Available on HTMLImageElement, provided by the HTMLImageElement$Typings extension

Sets or retrieves the width of the border to draw around the object. @deprecated
getter/setter pair
isMap bool

Available on HTMLImageElement, provided by the HTMLImageElement$Typings extension

Sets or retrieves whether the image is a server-side image map.
getter/setter pair
loading Loading

Available on HTMLImageElement, provided by the HTMLImageElement$Typings extension

Sets or retrieves the policy for loading image elements that are outside the viewport.
getter/setter pair
longDesc String

Available on HTMLImageElement, provided by the HTMLImageElement$Typings extension

Sets or retrieves a Uniform Resource Identifier (URI) to a long description of the object. @deprecated
getter/setter pair
lowsrc String

Available on HTMLImageElement, provided by the HTMLImageElement$Typings extension

@deprecated
getter/setter pair
name String

Available on HTMLImageElement, provided by the HTMLImageElement$Typings extension

Sets or retrieves the name of the object. @deprecated
getter/setter pair
naturalHeight num

Available on HTMLImageElement, provided by the HTMLImageElement$Typings extension

The original height of the image resource before sizing.
no setter
naturalWidth num

Available on HTMLImageElement, provided by the HTMLImageElement$Typings extension

The original width of the image resource before sizing.
no setter
referrerPolicy String

Available on HTMLImageElement, provided by the HTMLImageElement$Typings extension

MDN Reference
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 HTMLImageElement, provided by the HTMLImageElement$Typings extension

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

Available on HTMLImageElement, provided by the HTMLImageElement$Typings extension

MDN Reference
getter/setter pair
src String

Available on HTMLImageElement, provided by the HTMLImageElement$Typings extension

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

Available on HTMLImageElement, provided by the HTMLImageElement$Typings extension

MDN Reference
getter/setter pair
useMap String

Available on HTMLImageElement, provided by the HTMLImageElement$Typings extension

Sets or retrieves the URL, often with a bookmark extension (#name), to use as a client-side image map.
getter/setter pair
vspace num

Available on HTMLImageElement, provided by the HTMLImageElement$Typings extension

Sets or retrieves the vertical margin for the object. @deprecated
getter/setter pair
width num

Available on HTMLImageElement, provided by the HTMLImageElement$Typings extension

Sets or retrieves the width of the object.
getter/setter pair
x num

Available on HTMLImageElement, provided by the HTMLImageElement$Typings extension

MDN Reference
no setter
y num

Available on HTMLImageElement, provided by the HTMLImageElement$Typings extension

MDN Reference
no setter