TableMotion

How much the table animates: rows moving after a sort or a reorder, the header and fast filters sliding in, the lift of a dragged row or column, the fade of pinned-column shadows.

Entries

Link copied to clipboard

Follow the platform's reduced-motion setting: Reduce Motion on iOS, prefers-reduced-motion on the web. Android needs nothing extra: Compose already scales every animation by the system animation scale, so "Remove animations" turns them off. Desktop has no such setting and animates.

Link copied to clipboard

Always animate.

Link copied to clipboard

Never animate: every change lands in its final place at once.

Properties

Link copied to clipboard

Returns a representation of an immutable list of all enum entries, in the order they're declared.

Link copied to clipboard
expect val name: String
Link copied to clipboard
expect val ordinal: Int

Functions

Link copied to clipboard

Whether this setting turns animations off on the current device.

Link copied to clipboard

Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)

Link copied to clipboard

Returns an array containing the constants of this enum type, in the order they're declared.