import { Component } from '@angular/core' ; import { RenderFieldComponent } from '../../fields/components.fields' ; @ Component ( { templateUrl : './password-simple.component.html' , styleUrls : [ './password-simple.component.scss' ] } ) export class PasswordSimpleComponent extends RenderFieldComponent { public showData : boolean = false ; public toggle ( ) { this . showData = ! this . showData ; } constructor ( ) { super ( ) ; } }