Embeddables plugin

edit

Embeddables are re-usable widgets that can be rendered on dashboard, but also in other apps. Developers can embed them directly in their plugin. End users can dynamically add them to embeddable containers.

Embeddable containers

edit

Containers are a special type of embeddable that can contain nested embeddables. Embeddables can be dynamically added to embeddable containers. Currently only dashboard uses this interface.

Examples

edit

Multiple embeddable examples are implemented and registered here. They can be played around with and explored in the Embeddable Explorer example plugin. Just run kibana with

yarn start --run-examples

and navigate to the Embeddable explorer app.

There is also an example of rendering dashboard container outside of dashboard app here.

Testing

edit

Run unit tests

yarn test:jest src/plugins/embeddable