Module: UiBibz::Helpers::Ui::Core::WindowsHelper

Included in:
UiBibz::Helpers::Ui::CoreHelper
Defined in:
lib/ui_bibz/helpers/ui/core/windows_helper.rb

Instance Method Summary collapse

Instance Method Details

#ui_modal(content = nil, options = nil, html_options = nil) ⇒ Object

Modal Component

options (Hash) html_options (Hash)



8
9
10
# File 'lib/ui_bibz/helpers/ui/core/windows_helper.rb', line 8

def ui_modal(content = nil, options = nil, html_options = nil, &)
  UiBibz::Ui::Core::Windows::Modal.new(content, options, html_options).tap(&).render
end

#ui_offcanvas(content = nil, options = nil, html_options = nil) ⇒ Object

Offcanvas Component

options (Hash) html_options (Hash)



16
17
18
# File 'lib/ui_bibz/helpers/ui/core/windows_helper.rb', line 16

def ui_offcanvas(content = nil, options = nil, html_options = nil, &)
  UiBibz::Ui::Core::Windows::Offcanvas.new(content, options, html_options).tap(&).render
end