module Line::Message::Builder::Flex::Position::Offset
Provides options for positioning components using offsets, either absolutely or relatively to their normal position.
Public Instance Methods
Source
# File lib/line/message/builder/flex/position.rb, line 216
Sets or gets the bottom offset. Corresponds to LINE API offsetBottom.
- value
-
Offsetvalue
Source
# File lib/line/message/builder/flex/position.rb, line 238
Sets or gets the end-edge offset. Corresponds to LINE API offsetEnd.
- value
-
Offsetvalue
Source
# File lib/line/message/builder/flex/position.rb, line 227
Sets or gets the start-edge offset. Corresponds to LINE API offsetStart.
- value
-
Offsetvalue
Source
# File lib/line/message/builder/flex/position.rb, line 205
Sets or gets the top offset. Corresponds to LINE API offsetTop.
- value
-
Offsetvalue (e.g."10px","md")
Source
# File lib/line/message/builder/flex/position.rb, line 193
Sets or gets the positioning scheme.
- value
-
Positioning type:
:relative(default, offsets are relative to normal position),:absolute(offsets are relative to the parent component’s edges)