10 lines
200 B
TypeScript
10 lines
200 B
TypeScript
import { Component } from '@angular/core';
|
|
|
|
@Component({
|
|
selector: 'sg-app',
|
|
template: `
|
|
<input type="text" tohValidator>
|
|
<textarea tohValidator2></textarea>`
|
|
})
|
|
export class AppComponent { }
|