Sha256: 6ea4ee3e0373e860b924983b8a72e3af111c7f7d8404b68c7be1caa3e8ffdacb

Contents?: true

Size: 459 Bytes

Versions: 24

Compression:

Stored size: 459 Bytes

Contents

Typeahead kit is data-driven. The minimum default fields are `label` and `value`.

`{ label: "Foo", value: "bar" }`

#### Rails: Subscribing to JS Events
`pb-typeahead-kit-result-option-select` event to perform custom work when an option is clicked.
`pb-typeahead-kit-result-option-remove` event to perform custom work when a pill is clicked.
`pb-typeahead-kit-result-option-clear` event to perform custom work when all pills are removed upon clicking the X.

Version data entries

24 entries across 24 versions & 1 rubygems

Version Path
playbook_ui-7.1.1 app/pb_kits/playbook/pb_typeahead/docs/_typeahead_with_pills.md
playbook_ui-7.1.0.pre.alpha1 app/pb_kits/playbook/pb_typeahead/docs/_typeahead_with_pills.md
playbook_ui-7.1.0 app/pb_kits/playbook/pb_typeahead/docs/_typeahead_with_pills.md
playbook_ui-7.0.1.pre.alpha15 app/pb_kits/playbook/pb_typeahead/docs/_typeahead_with_pills.md