Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nasa/openmct.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authorPete Richards <peter.l.richards@nasa.gov>2016-12-21 02:10:07 +0300
committerPete Richards <peter.l.richards@nasa.gov>2016-12-21 03:43:23 +0300
commitdaa71c4f69ac3d1e73ada1c4a43ccfd615243199 (patch)
treefadf4e4c5c0868d4f548cc000ab7e528ba8b2a7f /docs
parentf2d61604f7bad162d232d18f933029cf7f90bf58 (diff)
[Navigation] remove mct-before-unload
Remove mct-before-unload, and move the functionality to the navigation service. The navigation service considers "unload" to be a navigation event and prompts in much the same way as it would before any other navigation event. https://github.com/nasa/openmct/issues/1360
Diffstat (limited to 'docs')
-rw-r--r--docs/src/guide/index.md14
1 files changed, 0 insertions, 14 deletions
diff --git a/docs/src/guide/index.md b/docs/src/guide/index.md
index 1d8a42229..c4d52c950 100644
--- a/docs/src/guide/index.md
+++ b/docs/src/guide/index.md
@@ -1338,20 +1338,6 @@ are supported:
Open MCT defines several Angular directives that are intended for use both
internally within the platform, and by plugins.
-
-## Before Unload
-
-The `mct-before-unload` directive is used to listen for (and prompt for user
-confirmation) of navigation changes in the browser. This includes reloading,
-following links out of Open MCT, or changing routes. It is used to hook into
-both `onbeforeunload` event handling as well as route changes from within
-Angular.
-
-This directive is useable as an attribute. Its value should be an Angular
-expression. When an action that would trigger an unload and/or route change
-occurs, this Angular expression is evaluated. Its result should be a message to
-display to the user to confirm their navigation change; if this expression
-evaluates to a falsy value, no message will be displayed.
## Chart