Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface SplitsComponentIconChangeJson

Describes the icon to be shown for a certain segment. This is provided whenever a segment is first shown or whenever its icon changes. If necessary, you may remount this component to reset the component into a state where these icons are provided again.

Hierarchy

  • SplitsComponentIconChangeJson

Index

Properties

icon

icon: string

The segment's icon encoded as a Data URL. The String itself may be empty. This indicates that there is no icon.

segment_index

segment_index: number

The index of the segment of which the icon changed. This is based on the index in the run, not on the index of the SplitStateJson in the SplitsComponentStateJson object. The corresponding index is the index field of the SplitStateJson object.

Generated using TypeDoc