Author API Methods
backToItemEdit()
Navigates back to the Item edit view from any lower level views within the Item editor. This includes the widget (Question or Feature) edit view, Item settings view, and the passage list view.
You would want to use this method so that you can facilitate this navigation with your own custom "back" button, for example.
This method will check for unsaved changes and will prompt the author before navigating to the Item edit view.
Examples
var navigationResult = authorApp.backToItemEdit();
console.log(navigationResult);
Arguments
None.
Return value
Type boolean
Returns true
if the navigation was successful, otherwise returns false
.
Related articles
- The
navigate
method, which navigates the Author API to a specified location.