Class: RUI::Card::Header::Titles
- Inherits:
-
Base
- Object
- Phlex::HTML
- Base
- RUI::Card::Header::Titles
show all
- Defined in:
- lib/rui/card.rb
Instance Method Summary
collapse
Methods inherited from Base
#initialize
Constructor Details
This class inherits a constructor from RUI::Base
Instance Method Details
#subtitle ⇒ Object
56
57
58
|
# File 'lib/rui/card.rb', line 56
def subtitle(&)
h3(class: "text-lg", &)
end
|
#title ⇒ Object
52
53
54
|
# File 'lib/rui/card.rb', line 52
def title(&)
h2(class: "text-xl font-semibold", &)
end
|
#view_template ⇒ Object
48
49
50
|
# File 'lib/rui/card.rb', line 48
def view_template(&)
div(class: "grow shrink basis-0 flex flex-col", &)
end
|