How to use the @ng-bootstrap/ng-bootstrap.NgbActiveModal function in @ng-bootstrap/ng-bootstrap

To help you get started, we’ve selected a few @ng-bootstrap/ng-bootstrap examples, based on popular ways it is used in public projects.

Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.

github junkerm / specmate / bundles / specmate-ui-core / webcontent / app / modules / notification / modules / modals / components / confirmation-modal-content.component.js View on Github external
}
    __decorate([
        core_1.Input(),
        __metadata("design:type", String)
    ], ConfirmationModalContent.prototype, "message", void 0);
    __decorate([
        core_1.Input(),
        __metadata("design:type", Object)
    ], ConfirmationModalContent.prototype, "withCancel", void 0);
    ConfirmationModalContent = __decorate([
        core_1.Component({
            moduleId: module.id,
            selector: 'confirmation-modal-content',
            templateUrl: 'confirmation-modal-content.component.html'
        }),
        __metadata("design:paramtypes", [ng_bootstrap_1.NgbActiveModal])
    ], ConfirmationModalContent);
    return ConfirmationModalContent;
}(modal_base_1.ModalBase));
exports.ConfirmationModalContent = ConfirmationModalContent;
github junkerm / specmate / bundles / specmate-ui-core / webcontent / app / modules / notification / modules / modals / components / error-modal-content.component.js View on Github external
return this.navigator.hasPrevious;
        },
        enumerable: true,
        configurable: true
    });
    __decorate([
        core_1.Input(),
        __metadata("design:type", String)
    ], ErrorModalContent.prototype, "message", void 0);
    ErrorModalContent = __decorate([
        core_1.Component({
            moduleId: module.id,
            selector: 'error-modal-content',
            templateUrl: 'error-modal-content.component.html'
        }),
        __metadata("design:paramtypes", [ng_bootstrap_1.NgbActiveModal,
            view_controller_service_1.ViewControllerService,
            navigator_service_1.NavigatorService])
    ], ErrorModalContent);
    return ErrorModalContent;
}(modal_base_1.ModalBase));
exports.ErrorModalContent = ErrorModalContent;