Class: Spark::Card
- Inherits:
-
Spark::Component::Base
- Object
- ActionView::Component::Base
- Spark::Component::Base
- Spark::Card
- 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
-
#initialize ⇒ Card
constructor
A new instance of Card.
Methods inherited from Spark::Component::Base
Constructor Details
#initialize ⇒ Card
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 |