Class: Spark::Card

Inherits:
Spark::Component::Base show all
Defined in:
app/components/spark/card.rb

Constant Summary collapse

LAYOUT =
%i[flush padded].freeze
ALIGN =
%i[left center right split].freeze

Instance Method Summary collapse

Methods inherited from Spark::Component::Base

#selector, #to_s, #unique_id

Constructor Details

#initializeCard

Returns a new instance of Card.



24
25
26
27
# File 'app/components/spark/card.rb', line 24

def initialize(*)
  super
  classname.add("spark-card")
end