Sha256: 6621d9c417563eb12789569e88e53b8342076273e79db688f32d04d1c7e0331c
Contents?: true
Size: 697 Bytes
Versions: 47
Compression:
Stored size: 697 Bytes
Contents
# frozen_string_literal: true module Playbook module PbTypeahead class Typeahead include Playbook::Props prop :label prop :name prop :value 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
47 entries across 47 versions & 1 rubygems