Sha256: d47a76e4f6b1313f97e7b3bded22acdfad3f92c41c5686dafb8c14a31aa44b22

Contents?: true

Size: 316 Bytes

Versions: 53

Compression:

Stored size: 316 Bytes

Contents

module Lookbook
  class DimensionsDisplay::Component < Lookbook::BaseComponent
    def initialize(target:, **html_attrs)
      @target = target
      @alpine_data = alpine_encode(@target)
      super(**html_attrs)
    end

    protected

    def alpine_component
      "dimensionsDisplayComponent"
    end
  end
end

Version data entries

53 entries across 53 versions & 1 rubygems

Version Path
lookbook-2.3.4 app/components/lookbook/dimensions_display/component.rb
lookbook-2.3.3 app/components/lookbook/dimensions_display/component.rb
lookbook-2.3.2 app/components/lookbook/dimensions_display/component.rb
lookbook-2.3.0 app/components/lookbook/dimensions_display/component.rb
lookbook-2.2.2 app/components/lookbook/dimensions_display/component.rb
lookbook-2.2.1 app/components/lookbook/dimensions_display/component.rb
lookbook-2.2.0 app/components/lookbook/dimensions_display/component.rb
lookbook-2.1.1 app/components/lookbook/dimensions_display/component.rb
lookbook-2.1.0 app/components/lookbook/dimensions_display/component.rb
lookbook-2.0.5 app/components/lookbook/dimensions_display/component.rb
lookbook-2.0.4 app/components/lookbook/dimensions_display/component.rb
lookbook-2.0.3 app/components/lookbook/dimensions_display/component.rb
lookbook-2.0.2 app/components/lookbook/dimensions_display/component.rb
lookbook-2.0.1 app/components/lookbook/dimensions_display/component.rb
lookbook-2.0.0 app/components/lookbook/dimensions_display/component.rb
lookbook-2.0.0.rc.3 app/components/lookbook/dimensions_display/component.rb
lookbook-1.5.5 app/components/lookbook/dimensions_display/component.rb
lookbook-1.5.4 app/components/lookbook/dimensions_display/component.rb
lookbook-2.0.0.rc.2 app/components/lookbook/dimensions_display/component.rb
lookbook-2.0.0.rc.1 app/components/lookbook/dimensions_display/component.rb