Sha256: 95c3ea0a0adf13edaa6e5d9f94cfb5acaf53bcf08f686ec7d1f65b3fbd5d5b30

Contents?: true

Size: 233 Bytes

Versions: 4

Compression:

Stored size: 233 Bytes

Contents

module Coco
  class ModalCanvas < Coco::Component
    include Concerns::AcceptsOptions

    accepts_option :dismissable, from: [true, false], default: true

    def dismissable?
      get_option_value(:dismissable)
    end
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
coveragebook_components-0.19.8 app/components/coco/modals/modal_canvas/modal_canvas.rb
coveragebook_components-0.19.7 app/components/coco/modals/modal_canvas/modal_canvas.rb
coveragebook_components-0.19.6 app/components/coco/modals/modal_canvas/modal_canvas.rb
coveragebook_components-0.19.5 app/components/coco/modals/modal_canvas/modal_canvas.rb