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 flex property (flex grow/shrink factor)
  • Image - For image-specific size keywords
  • Shared - For common size keywords (text, icons, spans)
  • AdjustMode - For adjust_mode property (e.g., shrink-to-fit)

Defined Under Namespace

Modules: AdjustMode, Flex, Image, Shared