UI module

key

procedure · 1 overloadsince 0.31.0Source

Give the next widget an explicit key, for items in a list whose order changes. Without it a widget in a loop is identified by its position in the loop.

key :: (value: $T)

Give the next widget an explicit key, for items in a list whose order changes. Without it a widget in a loop is identified by its position in the loop.

Parameters

value: $T
anything that identifies the item and stays the same as the list changes.

See also