Module: Playbook::Top

Includes:
PositionPropsCss
Included in:
KitBase
Defined in:
lib/playbook/top.rb

Constant Summary

Constants included from PositionPropsCss

PositionPropsCss::POSITION_VALUES

Class Method Summary collapse

Instance Method Summary collapse

Methods included from PositionPropsCss

#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_optionsObject



17
18
19
20
21
# File 'lib/playbook/top.rb', line 17

def top_options
  {
    top: "top",
  }
end

#top_valuesObject



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