Getting Started
Writing content
API Documentation
Customization
Recipes
API References Develop
@ng-doc/core / Interface

NgDocBaseDemoOptions

No documentation has been provided.

Properties

NameTypeDescription
class
string | string[] | undefined

Class name that should be added to the container

defaultTab
string | undefined

Tab name that should be opened by default

expanded
boolean | undefined

Specifies whether the code preview should be expanded (false by default)

fullscreenRoute
string | undefined

If specified, fullscreen button will be displayed and will navigate to the specified route

inputs
Record<string, unknown> | undefined

Specifies input values for the demo that will be set to demo component. These values will be used only once, when the demo is rendered.

tabs
string | string[] | undefined

List of tabs that should be displayed if they are not empty and exist