Skip to main content

openStartDrawer

openStartDrawer

Slides a drawer open from the current form's leading edge.

Parameters

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

Returns: None (void)

Description

Opens a side drawer that slides in from the left of the screen in an LTR layout. The callback fires with the result when the drawer closes.

warning

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

Example

$form.openStartDrawer("menu/sidebar", null, function(result) {
$log.i("드로어 닫힘, 결과:", result);
});

// 인수 전달
$form.openStartDrawer("menu/sidebar", { userId: "U001" }, null);

Related

  • $form.openEndDrawer(formPath, linkArg, callback) — trailing-edge drawer
  • $form.openSheet(formPath, linkArg, callback) — bottom sheet