OptionListPickerItem

public struct OptionListPickerItem
extension OptionListPickerItem: View

Undocumented

  • Undocumented

    Declaration

    Swift

    public init(model: OptionListPickerItemModel)
  • Undocumented

    Declaration

    Swift

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

    Declaration

    Swift

    init(value: Binding<[Int]>, valueOptions: [String] = [], hint: String? = nil, itemLayout: OptionListPickerItemLayoutType = .fixed, barItemFrame: CGRect = .zero, onTap: ((_ index: Int) -> Void)? = nil, updateSearchListPickerHeight: ((CGFloat) -> Void)? = nil)

    Parameters

    value

    Indexes for selected values.

    valueOptions

    The data for constructing the list picker.

    hint

    Hint message.

    itemLayout

    Option item layout type.

    barItemFrame

    The frame of the item in FilterFeedbackBar, which toggle to show this view.

    onTap

    The closure when tap on item.

    updateSearchListPickerHeight

    The closure to update the parent view.

  • Declaration

    Swift

    public var body: some View { get }