@neocomplexx/ngx-neo-modal
Version:
This project was generated with [Angular CLI](https://github.com/angular/angular-cli) version 7.0.5.
76 lines (75 loc) • 2.01 kB
TypeScript
import { NgbActiveModal } from '@ng-bootstrap/ng-bootstrap';
import { AfterViewInit, ChangeDetectorRef } from '@angular/core';
export declare class NgxNeoModalComponent implements AfterViewInit {
activeModal: NgbActiveModal;
changeRef: ChangeDetectorRef;
config: {
title: {
visibility: boolean;
text: string;
};
message: string;
type: any;
input: {
visibility: boolean;
placeholder: string;
value: any;
autofocus: boolean;
id: string;
};
button: {
yes: {
visibility: boolean;
autofocus: boolean;
text: string;
id: string;
};
no: {
visibility: boolean;
autofocus: boolean;
text: string;
id: string;
};
retry: {
visibility: boolean;
autofocus: boolean;
text: string;
id: string;
};
cancel: {
visibility: boolean;
autofocus: boolean;
text: string;
id: string;
};
accept: {
visibility: boolean;
autofocus: boolean;
text: string;
id: string;
};
};
};
btn: any;
input: any;
constructor(activeModal: NgbActiveModal, changeRef: ChangeDetectorRef);
ngAfterViewInit(): void;
private activeFocus;
private getButtonFocus;
private getInputFocus;
informResult(res: string): void;
setFocus(): void;
}
export declare class AlertResult {
ButtonResponse: AlertButton;
messageInput: string;
constructor(ButtonResponse: AlertButton, messageInput: string);
}
export declare enum AlertButton {
None = 0,
Accept = 1,
Cancel = 2,
Yes = 4,
No = 8,
Retry = 16
}