Skip to main content

closePopover

closePopover

Closes the most recently opened popover on the current form and returns a result to the caller.

Parameters

  • result (any): The result to return to whoever opened the popover (may be null)

Returns: None (void)

Description

Use it from inside a popover's form to close itself. It finds the most recent popover controller in popScreenMngr and closes it.

Example

$form.closePopover({ selected: "option_a" });

// 값 없이 닫기
$form.closePopover(null);

Related

  • $form.openPopover(formPath, linkArg, callback, options) — opens a popover
  • $form.openHoverPopover(formPath, linkArg, callback, options) — opens a hover popover
  • $form.closeDialog(result) — closes a dialog