View Source ExTealDirectUpload.ImageArray (ExTealDirectUpload v1.2.1)
A component for managing an array of image assets
Link to this section Summary
Functions
Callback implementation for ExTeal.Field.apply_options_for/4
.
Callback implementation for ExTeal.Field.default_sortable/0
.
Enable a draggable ui for the field, allowing a user to reorder the items in the array
Callback implementation for ExTeal.Field.filterable_as/0
.
Hide the 'create button' in the user interface
Put the 'add item' at the bottom of the list instead of the tops
Callback implementation for ExTeal.Field.make/2
.
Set a maximum height of the list in pixels
Set a maximum number of items in the list
Set the placeholder for the 'add item' inputs
Callback implementation for ExTeal.Field.sanitize_as/0
.
Callback implementation for ExTeal.Field.value_for/3
.
Link to this section Functions
Callback implementation for ExTeal.Field.apply_options_for/4
.
Callback implementation for ExTeal.Field.default_sortable/0
.
@spec draggable(ExTeal.Field.t()) :: ExTeal.Field.t()
Enable a draggable ui for the field, allowing a user to reorder the items in the array
Callback implementation for ExTeal.Field.filterable_as/0
.
@spec hide_create_button(ExTeal.Field.t()) :: ExTeal.Field.t()
Hide the 'create button' in the user interface
@spec list_above(ExTeal.Field.t()) :: ExTeal.Field.t()
Put the 'add item' at the bottom of the list instead of the tops
Callback implementation for ExTeal.Field.make/2
.
@spec max_height(ExTeal.Field.t(), integer()) :: ExTeal.Field.t()
Set a maximum height of the list in pixels
@spec max_items(ExTeal.Field.t(), integer()) :: ExTeal.Field.t()
Set a maximum number of items in the list
@spec placeholder(ExTeal.Field.t(), String.t()) :: ExTeal.Field.t()
Set the placeholder for the 'add item' inputs
Callback implementation for ExTeal.Field.sanitize_as/0
.
Callback implementation for ExTeal.Field.value_for/3
.