Sha256: 8c9c89380510222ca50ab0fd0601cd14fe49a5a695d0524c039bdf5a6b7f0cd8
Contents?: true
Size: 451 Bytes
Versions: 10
Compression:
Stored size: 451 Bytes
Contents
module TaoUi module Components class SlideBoxComponent < 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 :slide_box end private def default_options {class: 'tao-slide-box'} end end end end
Version data entries
10 entries across 10 versions & 1 rubygems