本文整理匯總了TypeScript中ng2-bootstrap/ng2-bootstrap.ModalDirective.hide方法的典型用法代碼示例。如果您正苦於以下問題:TypeScript ModalDirective.hide方法的具體用法?TypeScript ModalDirective.hide怎麽用?TypeScript ModalDirective.hide使用的例子?那麽, 這裏精選的方法代碼示例或許可以為您提供幫助。您也可以進一步了解該方法所在類ng2-bootstrap/ng2-bootstrap.ModalDirective
的用法示例。
在下文中一共展示了ModalDirective.hide方法的7個代碼示例,這些例子默認根據受歡迎程度排序。您可以為喜歡或者感覺有用的代碼點讚,您的評價將有助於係統推薦出更棒的TypeScript代碼示例。
示例1: closeManageSubModal
closeManageSubModal() {
this.clearError();
this.modalState = new ModalState();
this.manageSubTabset=false;
this.manageSubModal.hide();
}
示例2: closeManageRequestModal
closeManageRequestModal() {
this.clearError();
this.modalState = new ModalState();
this.manageRequestModal.hide();
this.manageRequestTabset=false;
}
示例3: closeCreateSubModal
closeCreateSubModal() {
this.modalState = new ModalState();
this.createSubModal.hide();
this.createSubTabset = false;
}
示例4: onSubAssign
onSubAssign($event) {
this.dutyDay.patrols[this.modalState.index].latest_substitution.sub_id = $event.sub_id;
this.managePatrolModal.hide();
}
示例5: closeManagePatrolModal
closeManagePatrolModal() {
this.history = null;
this.modalState = new ModalState();
this.managePatrolModal.hide();
}
示例6: hideChildModal
public hideChildModal():void {
this.childModal.hide();
}
示例7: closeAddModal
closeAddModal() {
this.clearAddModal();
this.addVoteModal.hide();
}