openFullDialog
openFullDialog
Opens the given form as a full-screen dialog with a zoom transition.
Parameters
formPath(string): The path or ID of the form to show in the full-screen dialoglinkArg(any): The argument to pass to the opened form (may be null)callback(function): Callback that receives the result when the dialog closes (may be null)
Returns: None (void)
Description
Opens the form full screen with a zoom transition animation. It can be dismissed with the back button or the ESC key. Internally it uses LucyPageRoute(zoom).
openDialog vs openSizedDialog vs openFullDialog
openDialog | openSizedDialog | openFullDialog | |
|---|---|---|---|
| Size | Width only, via options | width / height passed directly | Full screen |
| Transition | Default | Default | Zoom transition |
barrierDismissible default | false | false | true (ESC works) |
Example
$form.openFullDialog("editor/fullscreen", { docId: "DOC-001" },
function(result) {
$log.i("편집 결과:", result);
}
);
Related
$form.openDialog(formPath, linkArg, callback, options)— regular dialog$form.openSizedDialog(formPath, linkArg, width, height, callback, barrierDismissible)— explicitly sized dialog$form.closeDialog(result)— closes the dialog from inside itself