Sha256: 40d283158d93f399d0d02f01ce07ab055459bec275063a763007417980b6eaa3
Contents?: true
Size: 443 Bytes
Versions: 12
Compression:
Stored size: 443 Bytes
Contents
module TaoUi module Components class DialogComponent < TaoOnRails::Components::Base def initialize view, options super view, options 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
12 entries across 12 versions & 1 rubygems