Sha256: 497241d170f0204d46977fecf7a80cbb3dca2655c8e4a2e16ba34fa024e43c26
Contents?: true
Size: 410 Bytes
Versions: 17
Compression:
Stored size: 410 Bytes
Contents
module MotionPrime class BaseHeaderSection < Section include CellSectionMixin DEFAULT_HEADER_HEIGHT = 20 element :title, text: proc { @options[:title] } element :hint, text: proc { @options[:hint] } before_initialize :prepare_header_options def prepare_header_options @cell_type = :header end def render_element?(name) @options[name].present? end end end
Version data entries
17 entries across 17 versions & 1 rubygems