core/modal_factory

Description:
  • Create a modal.

Source:
License:
  • http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later

Create a modal.

Methods

(inner) create(modalConfig, triggerElement) → {promise}

Description:
  • Create a Modal instance.

Source:
Parameters:
Name Type Description
modalConfig object

The configuration to create the modal instance

triggerElement object

The trigger HTML jQuery object

Returns:

Resolved with a Modal instance

Type
promise