SearchListPickerItem

public struct SearchListPickerItem
extension SearchListPickerItem: View

Undocumented

  • Undocumented

    Declaration

    Swift

    public init(model: SearchListPickerItemModel)
  • Undocumented

    Declaration

    Swift

    public init(value: Binding<[Int]>, valueOptions: [String] = [], hint: String? = nil, onTap: ((_ index: Int) -> Void)? = nil)
  • create a list picker which used in FilterFeedbackBarItem

    Declaration

    Swift

    init(value: Binding<[Int]>, valueOptions: [String] = [], hint: String? = nil, allowsMultipleSelection: Bool, allowsEmptySelection: Bool, isSearchBarHidden: Bool = false, onTap: ((_ index: Int) -> Void)? = nil, selectAll: ((_ isAll: Bool) -> Void)? = nil, updateSearchListPickerHeight: ((CGFloat) -> Void)? = nil)

    Parameters

    value

    Selected value indexs.

    valueOptions

    The data for constructing the list picker.

    hint

    Hint message.

    allowsMultipleSelection

    A boolean value to indicate to allow multiple selections or not.

    allowsEmptySelection

    A boolean value to indicate to allow empty selection or not.

    onTap

    The closure when tap on item.

    selectAll

    The closure when click ‘Select All’ button.

    updateSearchListPickerHeight

    The closure to update the parent view.

  • Declaration

    Swift

    public var body: some View { get }