ng2-bootstrap-base-modified
Version:
Native Angular Bootstrap Components Typeahead modified
32 lines (26 loc) • 499 B
text/typescript
import {Component, Input, OnInit} from '@angular/core';
/**
* Foo doc
*/
({
selector: '[foo]',
template: '<button (click)="forTemplateOnly()">{{buttonTxt}}</button>',
exportAs: 'foo'
})
export class Foo implements OnInit {
() buttonTxt;
constructor() {
}
/**
* Only used in a template
*
* @internal
*/
forTemplateOnly() {
console.log('I was clicked!');
}
ngOnInit() {
}
private _dontSerialize() {
}
}