Skip to content

ImageSourceAttribution

Inherits: SourceAttribution

An image attribution permanently displayed adjacent to the open/close icon of a RichAttribution control. For it to be displayed, it should be part of a RichAttribution.attributions list.

Properties

Events

Properties#

height class-attribute instance-attribute #

height: Number = 24.0

The height of the image. Should be the same as RichAttribution.permanent_height, otherwise layout issues may occur.

image instance-attribute #

image: Image

The Image to be displayed.

Raises:

tooltip class-attribute instance-attribute #

tooltip: Optional[str] = None

Tooltip text to be displayed when the image is hovered over.

Events#

on_click class-attribute instance-attribute #

Fired when this attribution is clicked/pressed.