UNPKG

angular-docgen

Version:

A toolkit to extract information from Angular components for documentation generation.

13 lines (9 loc) 262 B
import { Component, Input, Output, EventEmitter } from "@angular/core"; @Component({ template: '<h1>Test</h1>', styles: ['h1 { font-weight: normal; }'] }) export default class SampleComponent { count: number = 1; @Input() disabled: boolean = false; }