Reference

AutoComplete

AutoComplete

AutoComplete control. Build it with the auto_complete helper.

Example

auto_complete(
  value: "Sample",
  expand: true,
  width: 240,
  height: 120,
  on_change: ->(event) {}
)

Properties

  • suggestions
  • suggestions_max_height — Suggestions max height.
  • value — The control's current value.

Plus the common layout and animation properties shared by most controls (expand, visible, disabled, opacity, width, height, align, tooltip, animate_*, …).

Events

  • on_animation_end — Fired when an animation completes.
  • on_change — Fired when the value changes.
  • on_select — Fired when a selection is made.
  • on_size_change — Fired when the control's size changes.

Reference

  • Family: materials
  • Widget type: autocomplete
  • Helper: auto_complete