Module: NattyUI::Attributes::Padding
- Defined in:
- lib/natty-ui/attributes.rb
Instance Attribute Summary collapse
-
#padding ⇒ Array<Integer>
Text padding within the element.
-
#padding_bottom ⇒ Integer
Text bottom padding.
-
#padding_left ⇒ Integer
Text left padding.
-
#padding_right ⇒ Integer
Text right padding.
-
#padding_top ⇒ Integer
Text top padding.
Instance Attribute Details
#padding ⇒ Array<Integer>
Text padding within the element.
240 241 242 |
# File 'lib/natty-ui/attributes.rb', line 240 def padding @padding end |
#padding_bottom ⇒ Integer
Text bottom padding.
273 |
# File 'lib/natty-ui/attributes.rb', line 273 def padding_bottom = @padding[2] |
#padding_left ⇒ Integer
Text left padding.
284 |
# File 'lib/natty-ui/attributes.rb', line 284 def padding_left = @padding[3] |
#padding_right ⇒ Integer
Text right padding.
262 |
# File 'lib/natty-ui/attributes.rb', line 262 def padding_right = @padding[1] |
#padding_top ⇒ Integer
Text top padding.
251 |
# File 'lib/natty-ui/attributes.rb', line 251 def padding_top = @padding[0] |