shiny.types.ImgData#

class shiny.types.ImgData(_typename, _fields=None, /, **kwargs)#

Return type for image().

See also

image

Example

See image().

Attributes

src

The src attribute of the <img> tag.

width

The width attribute of the <img> tag.

height

The height attribute of the <img> tag.

alt

The alt attribute of the <img> tag.

style

The style attribute of the <img> tag.