Class: Playbook::PbList::List
- Inherits:
-
Object
- Object
- Playbook::PbList::List
show all
- Includes:
- Playbook::Props
- Defined in:
- app/pb_kits/playbook/pb_list/list.rb
Instance Method Summary
collapse
#dark_props, #generate_classname, #generate_classname_without_spacing, #initialize, #prop, #spacing_options, #spacing_props, #spacing_values
Instance Method Details
#list_classname ⇒ Object
25
26
27
28
29
30
31
32
33
34
|
# File 'app/pb_kits/playbook/pb_list/list.rb', line 25
def list_classname
[
"pb_list_kit",
xpadding_class,
borderless_class,
dark_class,
size_class,
layout_class,
].compact.join("_")
end
|
#ordered_class ⇒ Object
36
37
38
|
# File 'app/pb_kits/playbook/pb_list/list.rb', line 36
def ordered_class
ordered ? "ol" : "ul"
end
|