@ng-bootstrap/ng-bootstrap#NgbActiveModal TypeScript Examples
The following examples show how to use
@ng-bootstrap/ng-bootstrap#NgbActiveModal.
You can vote up the ones you like or vote down the ones you don't like,
and go to the original project or source file by following the links above each example. You may check out the related API usage on the sidebar.
Example #1
Source File: imagemanagerpopup.component.ts From spurtcommerce with BSD 3-Clause "New" or "Revised" License | 6 votes |
constructor(
public modal: NgbActiveModal,
public mediaSandbox: MediaSandbox,
public configService: ConfigService,
private httpStatus: HTTPStatus
) {
this.regSubscribeEvents();
this.getHttpResponse();
}
Example #2
Source File: add-device.component.ts From dev-manager-desktop with Apache License 2.0 | 6 votes |
constructor(
public modal: NgbActiveModal,
private modalService: NgbModal,
private translate: TranslateService,
private deviceManager: DeviceManagerService,
fb: FormBuilder,
) {
this.formGroup = fb.group({
name: ['tv'],
address: [''],
port: ['9922'],
description: [],
// Unix username Regex: https://unix.stackexchange.com/a/435120/277731
sshUsername: ['prisoner', Validators.pattern(/^[a-z_]([a-z0-9_-]{0,31}|[a-z0-9_-]{0,30}\$)$/)],
sshAuth: ['devKey'],
sshPassword: [],
sshPrivkey: [],
sshPrivkeyPassphrase: [''],
});
}
Example #3
Source File: confirmation-modal.component.ts From StraxUI with MIT License | 5 votes |
constructor(
private snackbarService: SnackbarService,
public activeModal: NgbActiveModal) {
}
Example #4
Source File: generic-modal.component.ts From StraxUI with MIT License | 5 votes |
constructor(public activeModal: NgbActiveModal) {}
Example #5
Source File: add-new-address.component.ts From StraxUI with MIT License | 5 votes |
constructor(
private activeModel: NgbActiveModal,
private snackbarService: SnackbarService,
private addressBookService: AddressBookService,
private genericModalService: ModalService,
private fb: FormBuilder) {
this.buildAddressForm();
}
Example #6
Source File: logout-confirmation.component.ts From StraxUI with MIT License | 5 votes |
constructor(
public activeModal: NgbActiveModal,
private router: Router,
private stakingService: StakingService,
private walletService: WalletService,
private coldStakingService: ColdStakingService,
private authenticationService: AuthenticationService) { }
Example #7
Source File: crashes.component.ts From dev-manager-desktop with Apache License 2.0 | 5 votes |
constructor(
public modal: NgbActiveModal,
private deviceManager: DeviceManagerService,
@Inject('device') private device: Device
) {
}
Example #8
Source File: renew-script.component.ts From dev-manager-desktop with Apache License 2.0 | 5 votes |
constructor(
public modal: NgbActiveModal,
private deviceManager: DeviceManagerService,
@Inject('device') public device: Device
) {
this.devModeTokenSubject = new BehaviorSubject<string>("");
this.devModeToken$ = this.devModeTokenSubject.asObservable();
}
Example #9
Source File: message-dialog.component.ts From dev-manager-desktop with Apache License 2.0 | 5 votes |
constructor(
public modal: NgbActiveModal,
private componentFactoryResolver: ComponentFactoryResolver,
private changeDetector: ChangeDetectorRef,
@Inject('config') config: MessageDialogConfig
) {
Object.assign(this, config);
}
Example #10
Source File: modal.component.ts From distributed-compliance-ledger with Apache License 2.0 | 5 votes |
constructor(public activeModal: NgbActiveModal) {}
Example #11
Source File: model-info-search.component.ts From distributed-compliance-ledger with Apache License 2.0 | 5 votes |
constructor(public activeModal: NgbActiveModal) {}
Example #12
Source File: certificates-search.component.ts From distributed-compliance-ledger with Apache License 2.0 | 5 votes |
constructor(public activeModal: NgbActiveModal) {}