mirror of
https://github.com/elastic/kibana.git
synced 2025-04-23 09:19:04 -04:00
Update destroy documentation of vis loader (#21649)
This commit is contained in:
parent
435b85070c
commit
cb8fcdca16
1 changed files with 2 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue