Sha256: b4a9ce24d5f497efc742ca501d2431b74118c017f7fc66131c7a1d8796723cb1

Contents?: true

Size: 557 Bytes

Versions: 30

Compression:

Stored size: 557 Bytes

Contents

module Udongo
  module Configs
    class FlexibleContent
      include Virtus.model

      BREAKPOINTS = %w(xs sm md lg xl)
      DEFAULT_BREAKPOINT = 'md'

      attribute :types, Array, default: %w(text picture video slideshow form)
      attribute :picture_caption_editor, Axiom::Types::Boolean, default: false
      attribute :video_caption_editor, Axiom::Types::Boolean, default: false

      def picture_caption_editor?
        picture_caption_editor
      end

      def video_caption_editor?
        video_caption_editor
      end
    end
  end
end

Version data entries

30 entries across 30 versions & 1 rubygems

Version Path
udongo-7.9.0 lib/udongo/configs/flexible_content.rb
udongo-7.8.1 lib/udongo/configs/flexible_content.rb
udongo-7.8.0 lib/udongo/configs/flexible_content.rb
udongo-7.7.2 lib/udongo/configs/flexible_content.rb
udongo-7.7.1 lib/udongo/configs/flexible_content.rb
udongo-7.7.0 lib/udongo/configs/flexible_content.rb
udongo-7.6.2 lib/udongo/configs/flexible_content.rb
udongo-7.6.1 lib/udongo/configs/flexible_content.rb
udongo-7.6.0 lib/udongo/configs/flexible_content.rb
udongo-7.5.1 lib/udongo/configs/flexible_content.rb
udongo-7.5.0 lib/udongo/configs/flexible_content.rb
udongo-7.4.2 lib/udongo/configs/flexible_content.rb
udongo-7.4.1 lib/udongo/configs/flexible_content.rb
udongo-7.4.0 lib/udongo/configs/flexible_content.rb
udongo-7.3.5 lib/udongo/configs/flexible_content.rb
udongo-7.3.4 lib/udongo/configs/flexible_content.rb
udongo-7.3.3 lib/udongo/configs/flexible_content.rb
udongo-7.3.2 lib/udongo/configs/flexible_content.rb
udongo-7.3.1 lib/udongo/configs/flexible_content.rb
udongo-7.2.1 lib/udongo/configs/flexible_content.rb