current_index#

property ImageWidget.current_index: dict[str, int]#

Get or set the current index

Returns:

index – | dict for indexing each dimension, provide a dict with indices for all dimensions used by sliders or only a subset of dimensions used by the sliders. | example: if you have sliders for dims “t” and “z”, you can pass either {"t": 10} to index to position 10 on dimension “t” or {"t": 5, "z": 20} to index to position 5 on dimension “t” and position 20 on dimension “z” simultaneously.

Return type:

Dict[str, int]