Skip to content
@ng-doc/core / Interface

NgDocBaseDemoOptions

No documentation has been provided.

DeclarationTypeScript
export interface NgDocBaseDemoOptions { … }

Members

Properties

6
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

Opens the demo on its code (false by default): a demo starts on a source file instead of the preview (the opened snippet, then defaultTab, then the first file), and a demoPane starts with its code expanded.

fullscreenRoute?: string | undefined

A child route of the page (see route.children of NgDocPage). When set, a link that opens the route in a new tab replaces the demo; the route opens as a standalone page that shows only the routed component.

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

Symbol
Kind
Interface
Scope
@ng-doc/core
Edit this page