Skip to content

Commit

Permalink
doc: update readme
Browse files Browse the repository at this point in the history
Signed-off-by: tygao <[email protected]>
  • Loading branch information
raintygao committed Mar 2, 2024
1 parent c7ddbda commit cad2401
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/core/public/public.api.md
Original file line number Diff line number Diff line change
Expand Up @@ -1110,6 +1110,8 @@ export interface OverlayStart {
//
// (undocumented)
openModal: OverlayModalStart['open'];
// (undocumented)
sidecar: OverlaySidecarStart;
}

export { PackageInfo }
Expand Down
1 change: 1 addition & 0 deletions src/plugins/opensearch_dashboards_react/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -153,6 +153,7 @@ class MyPlugin {

- `overlays.openModal` &mdash; opens modal window.
- `overlays.openFlyout` &mdash; opens right side panel.
- `overlays.sidecar().open` &mdash; opens sidecar.

You can access `overlays` service through React context.

Expand Down

0 comments on commit cad2401

Please sign in to comment.