Skip to content

Add ability to add custom content to the console element as a distributed child #520

@jarrodek

Description

@jarrodek

Add ability to add child nodes to the API console element so they will be rendered in the console's main view as a documentation content, but controlled from the outside the console scope.

Use case

Rendering a list of API versions in the side panel. The user can switch between different versions and load different APIs. The API selector UI is integrated with the console's UI.

How could this been currently achieved?

By adding an overlay over the element or modifying styles to put other element to the DOM and arrange the elements so they all would be visible. This however made the additional UI detached from the console and therefore looked worse to the user.

Does the change affect current version of the console?

It does not changes current implementations as it adds new mounting point for child elements.

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions