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
-
height(Number) –The height of the image.
-
image(Image) –The
Imageto be displayed. -
tooltip(str | None) –Tooltip text to be displayed when the image is hovered over.
Events
-
on_click(ControlEventHandler[ImageSourceAttribution] | None) –Fired when this attribution is clicked/pressed.
Properties#
height
#
height: Number = 24.0
The height of the image.
Should be the same as RichAttribution.permanent_height,
otherwise layout issues may occur.
Events#
on_click
#
on_click: (
ControlEventHandler[ImageSourceAttribution] | None
) = None
Fired when this attribution is clicked/pressed.