Sha256: 8f85685735c82e24262e66a76937ea202ead11ddd80b7d5a5c83adb915f2751a

Contents?: true

Size: 517 Bytes

Versions: 12

Compression:

Stored size: 517 Bytes

Contents

module AppleNews
  module Component
    module Text
      extend ActiveSupport::Concern

      included do
        required_property :text
        optional_property :format

        optional_property :anchor, nil, Property::Anchor
        optional_property :animation, nil, Animation, :factory
        optional_property :behavior, nil, Behavior, :factory
        optional_property :inline_text_styles, [], Style::InlineText
        optional_property :text_style, nil, Style::ComponentText
      end
    end
  end
end

Version data entries

12 entries across 12 versions & 1 rubygems

Version Path
apple-news-0.5.1 lib/apple-news/components/text.rb
apple-news-0.5.0 lib/apple-news/components/text.rb
apple-news-0.4.2 lib/apple-news/components/text.rb
apple-news-0.4.1 lib/apple-news/components/text.rb
apple-news-0.4.0 lib/apple-news/components/text.rb
apple-news-0.3.1 lib/apple-news/components/text.rb
apple-news-0.3.0 lib/apple-news/components/text.rb
apple-news-0.2.5 lib/apple-news/components/text.rb
apple-news-0.2.4 lib/apple-news/components/text.rb
apple-news-0.2.3 lib/apple-news/components/text.rb
apple-news-0.2.2 lib/apple-news/components/text.rb
apple-news-0.2.1 lib/apple-news/components/text.rb