Sha256: 3746bcbd6e441f7f73e51b37fa4349fa36ad107fb6cac38c584fa247c44bf870
Contents?: true
Size: 372 Bytes
Versions: 66
Compression:
Stored size: 372 Bytes
Contents
module Lookbook class Filter::Component < Lookbook::BaseComponent def initialize(store: nil, placeholder: "Type to filter…", **html_attrs) @model = store.nil? ? "{}" : "#{store}.raw" @placeholder = placeholder super(alpine_data: store, **html_attrs) end protected def alpine_component "filterComponent" end end end
Version data entries
66 entries across 66 versions & 1 rubygems