ImageElement
Last updated
Last updated
Creates an ImageElement
instance.
imageUrl
string
true
The url for the image.
altText
string
false
""
(empty string)
The alt text for the image. If alt text is not provided in the constructor, it must be provided using the alt
method before serializing.
Return: The ImageElement
instance.
Sets the alt text for the ImageElement
instance.
altText
string
true
The alt text for the ImageElement
.
Return: The ImageElement
instance.
Converts the ImageElement
instance to a serializable format.
No arguments
Return: (struct
) A struct representing this ImageElement
instance.