SelectoComponents.Components.ListPicker (selecto_components v0.4.8)

Link to this section Summary

Functions

Attributes

  • available (:list) (required)
  • selected_items (:list) (required)
  • view (:any) (required)
  • fieldname (:string) (required)
  • compact (:boolean) - Defaults to false.
  • available_label (:string) - Defaults to "Available".
  • selected_label (:string) - Defaults to "Selected".
  • group_available_by_prefix (:boolean) - Defaults to true.
  • available_height_class (:string) - Defaults to nil.
  • selected_height_class (:string) - Defaults to nil.
  • available_max_height (:string) - Defaults to nil.
  • selected_max_height (:string) - Defaults to nil.

Slots

  • item_form
  • item_summary
  • between_item

Link to this section Functions

Link to this function

handle_event(binary, params, socket)

Callback implementation for Phoenix.LiveComponent.handle_event/3.

Link to this function

render(assigns)

attributes

Attributes

  • available (:list) (required)
  • selected_items (:list) (required)
  • view (:any) (required)
  • fieldname (:string) (required)
  • compact (:boolean) - Defaults to false.
  • available_label (:string) - Defaults to "Available".
  • selected_label (:string) - Defaults to "Selected".
  • group_available_by_prefix (:boolean) - Defaults to true.
  • available_height_class (:string) - Defaults to nil.
  • selected_height_class (:string) - Defaults to nil.
  • available_max_height (:string) - Defaults to nil.
  • selected_max_height (:string) - Defaults to nil.

slots

Slots

  • item_form
  • item_summary
  • between_item