Sha256: f2c81e2579c870a6caca92ae6d6ad426ca2092a9b297d7869ce5d9294336997b
Contents?: true
Size: 429 Bytes
Versions: 5
Compression:
Stored size: 429 Bytes
Contents
module TaoUi module Components class DialogComponent < TaoOnRails::Components::Base def initialize view, options super unless @options[:with_close_button].in? [true, false] @options[:with_close_button] = true end end def self.component_name :dialog end private def default_options {class: 'tao-dialog'} end end end end
Version data entries
5 entries across 5 versions & 1 rubygems