Add show and hide whether checkbox is active or not

This commit is contained in:
tiago.kayaya
2021-01-04 16:03:41 +01:00
parent 40e8af2bf3
commit 0aa7b3f15e
9 changed files with 44 additions and 16 deletions
@@ -9,6 +9,7 @@ import { ContactsPage } from './contacts/contacts.page';
})
export class NewGroupPage implements OnInit {
showLoader: boolean;
showDuration: boolean;
constructor(
private modalController: ModalController,
@@ -18,6 +19,9 @@ export class NewGroupPage implements OnInit {
ngOnInit() {
}
_ionChange(event){
this.showDuration = event.detail.checked;
}
close(){
this.modalController.dismiss();