Sha256: 673f866585c56d629f1cd51ce186e6304b48259ff8b2949eb0aa086db333db46
Contents?: true
Size: 663 Bytes
Versions: 3
Compression:
Stored size: 663 Bytes
Contents
# frozen_string_literal: true module Playbook module PbTypeahead class Typeahead include Playbook::Props prop :label prop :placeholder prop :search_term_minimum_length, default: 3 prop :search_debounce_timeout, default: 250 partial "pb_typeahead/typeahead" def classname generate_classname("pb_typeahead_kit") end def data Hash(values[:data]).merge( pb_typeahead_kit: true, pb_typeahead_kit_search_term_minimum_length: search_term_minimum_length, pb_typeahead_kit_search_debounce_timeout: search_debounce_timeout, ) end end end end
Version data entries
3 entries across 3 versions & 1 rubygems