Module: Line::Message::Builder::Flex::Size
- Defined in:
- lib/line/message/builder/flex/size.rb
Overview
The Size module acts as a namespace for several mixin modules that provide various size-related properties (options) to Flex Message components. These properties control aspects like the component's flex factor within a box, specific size keywords for images or text, and adjustment behaviors like shrink-to-fit.
These mixins are included in component classes (e.g., Box, Image, Text) to add DSL methods for these sizing attributes.
See also:
- Flex - For
flexproperty (flex grow/shrink factor) - Image - For image-specific
sizekeywords - Shared - For common
sizekeywords (text, icons, spans) - AdjustMode - For
adjust_modeproperty (e.g., shrink-to-fit)
Defined Under Namespace
Modules: AdjustMode, Flex, Image, Shared