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

NgDocDemoActionOptions

Possible options for demo action

Properties

NameTypeDescription
class
inherited from NgDocBaseDemoOptions
string | string[] | undefined

Class name that should be added to the container

container
boolean | undefined

Display demo in the container (true by default)

defaultTab
inherited from NgDocBaseDemoOptions
string | undefined

Tab name that should be opened by default

expanded
inherited from NgDocBaseDemoOptions
boolean | undefined

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

fullscreenRoute
inherited from NgDocBaseDemoOptions
string | undefined

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

inputs
inherited from NgDocBaseDemoOptions
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
inherited from NgDocBaseDemoOptions
string | string[] | undefined

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