Getting Started
Writing content
API Documentation
Customization
Recipes
API References Develop
@ng-doc/builder / Function

demoAction

Render demo point on the page, it will be rendered by the application

Presentation

function demoAction(
  componentName: string,
  options?: NgDocDemoActionOptions | undefined,
): NgDocAction<string>;

Returns

NgDocAction<string> -

The action output

Parameters

NameTypeDescription
componentName
string

The title of the component class to render

options
NgDocDemoActionOptions | undefined

Options for configuring the action