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, &block) ⇒ 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, &block)
  UiBibz::Ui::Core::Windows::Modal.new(content, options, html_options).tap(&block).render
end