NgDocDemoDisplayerComponent
A demo on the dot-grid stage with a copy button and a toggle that reveals its code below it (the rows of a playground use it).
- Decorators
@Component - Selectors
ng-doc-demo-displayer
DeclarationTypeScript
@Component ({ … })
export class NgDocDemoDisplayerComponent { … }Members
Properties7 | |
border: | Whether the displayer draws its border. |
code: | Code of the demo, copied by the copy button and shown when there is no |
codeContent: | Content shown when the code is revealed; when empty, the highlighted |
codeId: string | Id of the region that holds the code, for the toggle's |
container: | Whether the demo is shown in the stage with its controls; otherwise it is shown as is. |
expanded: | Whether the code is revealed. |
language: | Language of |
Methods1 | |
(): void | Reveals or hides the code. |
Signature Returns void | |
No members match.