APIs

Show:

Mixin contains actions for open and close modal window.

Methods

_getModalParams

(
  • [modalParams]
)
private

Validate modalParams object.

Parameters:

  • [modalParams] Object optional

    Object with parameters for modal window.

    • [outlet] String optional

      Outlet name.

    • [view] String optional

      Template name with outlet.

actions.removeModalDialog

(
  • [modalParams]
)

Action to remove modal outlet on modal-dialog close.

Parameters:

  • [modalParams] Object optional

    Object with parameters for modal window.

    • [outlet] String optional

      Outlet name.

    • [view] String optional

      Template name with outlet.

actions.showModalDialog

(
  • modalDialogName
  • [data]
  • [modalParams]
)

Action to show modal-dialog by name.

Parameters:

  • modalDialogName String

    Template name modal window.

  • [data] Object optional

    Data for transfer to modal window.

  • [modalParams] Object optional

    Object with parameters for modal window.

    • [outlet] String optional

      Outlet name.

    • [view] String optional

      Template name with outlet.