@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

@param componentName - The title of the component class to render

options
NgDocDemoActionOptions | undefined

@param options - Options for configuring the action