Class: Protos::Stats
- Defined in:
- lib/protos/stats.rb,
lib/protos/stats/stat.rb,
lib/protos/stats/title.rb,
lib/protos/stats/value.rb,
lib/protos/stats/figure.rb,
lib/protos/stats/actions.rb,
lib/protos/stats/description.rb
Defined Under Namespace
Classes: Actions, Description, Figure, Stat, Title, Value
Instance Method Summary collapse
- #actions ⇒ Object
- #description ⇒ Object
- #figure ⇒ Object
- #stat ⇒ Object
- #title ⇒ Object
- #value ⇒ Object
-
#view_template ⇒ Object
DOCS: Stats component that contains a collection of stats daisyui.com/components/stat/.
Methods inherited from Component
Constructor Details
This class inherits a constructor from Protos::Component
Instance Method Details
#actions ⇒ Object
12 |
# File 'lib/protos/stats.rb', line 12 def actions(...) = render Actions.new(...) |
#description ⇒ Object
14 |
# File 'lib/protos/stats.rb', line 14 def description(...) = render Description.new(...) |
#view_template ⇒ Object
DOCS: Stats component that contains a collection of stats daisyui.com/components/stat/
8 9 10 |
# File 'lib/protos/stats.rb', line 8 def view_template(&) div(**attrs, &) end |