Skip to main content

openSheet

openSheet

Opens the given form as a non-modal bottom sheet.

Parameters

  • formPath (string): The path or ID of the form to show in the sheet
  • linkArg (any): The argument to pass to the opened form (may be null)
  • callback (function): Callback that receives the result when the sheet closes (may be null)

Returns: None (void)

Description

Opens a non-modal bottom sheet that slides up from the bottom of the screen. It doesn't dim the background, so content behind the sheet stays interactive. Use openModalSheet when you need a modal sheet.

warning

Only one drawer or sheet can be open at a time.

openSheet vs openModalSheet

openSheetopenModalSheet
ModalNon-modalModal
Background overlayNoneDimmed overlay
Highlight regionNot supportedSupported (left/top/width/height)

Example

$form.openSheet("filters/panel", null, function(result) {
$log.i("시트 닫힘:", result);
});

Related

  • $form.openModalSheet(formPath, linkArg, callback, left, top, width, height) — modal bottom sheet
  • $form.openStartDrawer(formPath, linkArg, callback) — side drawer