Module: Playbook::Top
Constant Summary
collapse
- TOP_VALUES =
%w[0 xxs xs sm md lg xl auto initial inherit].freeze
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
19
20
21
|
# File 'lib/playbook/top.rb', line 19
def top_options
{ top: "top" }
end
|
#top_values ⇒ Object
15
16
17
|
# File 'lib/playbook/top.rb', line 15
def top_values
TOP_VALUES
end
|