Module: Playbook::Top
Constant Summary
PositionPropsCss::POSITION_VALUES
Class Method Summary
collapse
Instance Method Summary
collapse
#positioning_css
Class Method Details
.included(base) ⇒ Object
9
10
11
|
# File 'lib/playbook/top.rb', line 9
def self.included(base)
base.prop :top
end
|
Instance Method Details
#top_options ⇒ Object
17
18
19
20
21
|
# File 'lib/playbook/top.rb', line 17
def top_options
{
top: "top",
}
end
|
#top_values ⇒ Object
13
14
15
|
# File 'lib/playbook/top.rb', line 13
def top_values
%w[0 xxs xs sm md lg xl auto initial inherit]
end
|