Module: NattyUI::Attributes::Padding
- Included in:
- Table::Cell::Attributes
- 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.
242 243 244 |
# File 'lib/natty-ui/attributes.rb', line 242 def padding @padding end |
#padding_bottom ⇒ Integer
Text bottom padding.
275 |
# File 'lib/natty-ui/attributes.rb', line 275 def padding_bottom = @padding[2] |
#padding_left ⇒ Integer
Text left padding.
286 |
# File 'lib/natty-ui/attributes.rb', line 286 def padding_left = @padding[3] |
#padding_right ⇒ Integer
Text right padding.
264 |
# File 'lib/natty-ui/attributes.rb', line 264 def padding_right = @padding[1] |
#padding_top ⇒ Integer
Text top padding.
253 |
# File 'lib/natty-ui/attributes.rb', line 253 def padding_top = @padding[0] |