Class: Maglove::Widget::Columns
- Inherits:
-
V2
- Object
- Base
- V2
- Maglove::Widget::Columns
show all
- Defined in:
- lib/maglove/widget/columns.rb
Instance Attribute Summary
Attributes inherited from Base
#options, #scope
Instance Method Summary
collapse
Methods inherited from V2
#render, #widget_options
Methods inherited from Base
#initialize, #render, #style_string, #widget_options
Instance Method Details
#column {|_self| ... } ⇒ Object
15
16
17
|
# File 'lib/maglove/widget/columns.rb', line 15
def column(&block)
yield self if block_given?
end
|
#defaults ⇒ Object
8
9
10
11
12
13
|
# File 'lib/maglove/widget/columns.rb', line 8
def defaults
{
layout: "6x6",
collapse_options: "sm"
}
end
|
#identifier ⇒ Object
4
5
6
|
# File 'lib/maglove/widget/columns.rb', line 4
def identifier
"columns"
end
|