import { ThyFormDirective } from 'ngx-tethys/form' ; import { Component , OnInit } from '@angular/core' ; import { of } from 'rxjs' ; @ Component ( { selector : 'thy-form-columns-example' , templateUrl : './columns.component.html' } ) export class ThyFormColumnsExampleComponent implements OnInit { submitSuccess = false ; constructor ( ) { } ngOnInit ( ) { } save ( form ) { console . log ( `submit success!` ) ; this . submitSuccess = true ; } }