Update destroy documentation of vis loader (#21649)

This commit is contained in:
Tim Roes 2018-08-06 12:02:23 +02:00 committed by GitHub
parent 435b85070c
commit cb8fcdca16
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -45,7 +45,8 @@ found. It will reject, if the `id` is invalid.
The returned `EmbeddedVisualizeHandler` itself has the following methods and properties:
- `destroy()`: destroys the underlying Angular scope of the visualization
- `destroy()`: destroys the embedded visualization. You MUST call that method when navigating away
or destroying the DOM node you have embedded into.
- `getElement()`: a reference to the jQuery wrapped DOM element, that renders the visualization
- `whenFirstRenderComplete()`: will return a promise, that resolves as soon as the visualization has
finished rendering for the first time