Module: NattyUI::Attributes::Height
- Defined in:
- lib/natty-ui/attributes.rb
Instance Attribute Summary collapse
-
#height ⇒ Integer, ...
Element height.
-
#max_height ⇒ Integer?
Maximum element height.
-
#min_height ⇒ Integer?
Minimum element height.
Instance Attribute Details
#height ⇒ Integer, ...
Element height.
193 194 195 |
# File 'lib/natty-ui/attributes.rb', line 193 def height @height end |
#max_height ⇒ Integer?
Maximum element height.
215 |
# File 'lib/natty-ui/attributes.rb', line 215 def max_height = @height.is_a?(Range) ? @height.begin : @height |
#min_height ⇒ Integer?
Minimum element height.
204 |
# File 'lib/natty-ui/attributes.rb', line 204 def min_height = @height.is_a?(Range) ? @height.begin : @height |