Skip to main content

Module chips

Module chips 

Source
Expand description

The look of a reference-selection field: picked items as chips that wrap, an accent border that pulses while the field is picking, and a collapsed count once there are more than six picks. The picking itself stays in reference_selection; this is only how the field is drawn.

Structs§

Chip
ReferenceField
ReferenceOutput

Constants§

COLLAPSE_ABOVE
Above this many picks the chips collapse to a count.

Functions§

reference_field
reference_field("faces-field", &chips, "faces").picking(true).show(ui).