/** * @license * Copyright Akveo. All Rights Reserved. * Licensed under the MIT License. See License.txt in the project root for license information. */ import { ChangeDetectionStrategy, Component, Input } from '@angular/core'; @Component({ selector: 'ngx-methods-block', template: `

Methods

Name Description
{{ method.name }}()
static method
parameters: {{ param.name }}: {{ param.type }},
returns: {{ method.type.join(",\\n") }}
{{ method.shortDescription }}
{{ method.description }}
`, changeDetection: ChangeDetectionStrategy.OnPush, }) export class NgxMethodsBlockComponent { methods: any; @Input('source') set setSource(source: any) { this.methods = source.methods; } }