module Line::Message::Builder::Flex::Position::Padding
Provides padding options for components, allowing space to be defined around the content of a component, inside its borders.
Note: In this DSL, padding is an alias for padding_all. The LINE API uses paddingAll. When using the DSL padding(value), it sets the underlying value that will be output as paddingAll.
Public Instance Methods
Source
# File lib/line/message/builder/flex/position.rb, line 84
Sets or gets the padding for all sides (alias for padding_all). Corresponds to LINE API paddingAll.
- value
-
Paddingvalue (e.g."10px","md","5%"). Keywords::none,:xs,:sm,:md,:lg,:xl,:xxl
Source
# File lib/line/message/builder/flex/position.rb, line 97
Sets or gets the padding for all sides. Corresponds to LINE API paddingAll.
- value
-
Paddingvalue (e.g."10px","md","5%"). Keywords::none,:xs,:sm,:md,:lg,:xl,:xxl
Source
# File lib/line/message/builder/flex/position.rb, line 121
Sets or gets the bottom padding. Corresponds to LINE API paddingBottom.
- value
-
Paddingvalue
Source
# File lib/line/message/builder/flex/position.rb, line 144
Sets or gets the end-edge padding (right in LTR, left in RTL). Corresponds to LINE API paddingEnd.
- value
-
Paddingvalue
Source
# File lib/line/message/builder/flex/position.rb, line 132
Sets or gets the start-edge padding (left in LTR, right in RTL). Corresponds to LINE API paddingStart.
- value
-
Paddingvalue
Source
# File lib/line/message/builder/flex/position.rb, line 110
Sets or gets the top padding. Corresponds to LINE API paddingTop.
- value
-
Paddingvalue