HTMLImageElement$Typings extension
Properties
-
addEventListener
→ ({void Function<K$>(HTMLElementEventMap<K$> type, dynamic listener(K$), [Object? options]) $1, void Function(String type, Object listener, [Object? options]) $2})
-
Overload accessor: $1, $2
no setter
-
align
↔ String
-
Sets or retrieves how the object is aligned with adjacent text.
@deprecated
getter/setter pair
-
alt
↔ String
-
Sets or retrieves a text alternative to the graphic.
getter/setter pair
-
border
↔ String
-
Specifies the properties of a border drawn around an object.
@deprecated
getter/setter pair
-
complete
→ bool
-
Retrieves whether the object is fully loaded.
no setter
-
crossOrigin
↔ String?
-
MDN Reference
getter/setter pair
-
currentSrc
→ String
-
MDN Reference
no setter
-
decode
↔ Future<void> Function()
-
getter/setter pair
-
decoding
↔ Decoding
-
MDN Reference
getter/setter pair
-
height
↔ num
-
Sets or retrieves the height of the object.
getter/setter pair
-
hspace
↔ num
-
Sets or retrieves the width of the border to draw around the object.
@deprecated
getter/setter pair
-
isMap
↔ bool
-
Sets or retrieves whether the image is a server-side image map.
getter/setter pair
-
loading
↔ Loading
-
Sets or retrieves the policy for loading image elements that are outside the viewport.
getter/setter pair
-
longDesc
↔ String
-
Sets or retrieves a Uniform Resource Identifier (URI) to a long description of the object.
@deprecated
getter/setter pair
-
lowsrc
↔ String
-
@deprecated
getter/setter pair
-
name
↔ String
-
Sets or retrieves the name of the object.
@deprecated
getter/setter pair
-
naturalHeight
→ num
-
The original height of the image resource before sizing.
no setter
-
naturalWidth
→ num
-
The original width of the image resource before sizing.
no setter
-
referrerPolicy
↔ String
-
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})
-
Overload accessor: $1, $2
no setter
-
sizes
↔ String
-
MDN Reference
getter/setter pair
-
src
↔ String
-
The address or URL of the a media resource that is to be considered.
getter/setter pair
-
srcset
↔ String
-
MDN Reference
getter/setter pair
-
useMap
↔ String
-
Sets or retrieves the URL, often with a bookmark extension (#name), to use as a client-side image map.
getter/setter pair
-
vspace
↔ num
-
Sets or retrieves the vertical margin for the object.
@deprecated
getter/setter pair
-
width
↔ num
-
Sets or retrieves the width of the object.
getter/setter pair
-
x
→ num
-
MDN Reference
no setter
-
y
→ num
-
MDN Reference
no setter