mirror of
https://github.com/akveo/ngx-admin.git
synced 2026-03-08 06:32:35 +01:00
chore(lint): update linter to follow angular lint file
This commit is contained in:
parent
899d874cdd
commit
3429ed0a8d
17 changed files with 53 additions and 46 deletions
|
|
@ -13,18 +13,18 @@ export class NotificationsComponent {
|
|||
|
||||
config: ToasterConfig;
|
||||
|
||||
position: string = 'toast-top-right';
|
||||
animationType: string = 'fade';
|
||||
title: string = 'HI there!';
|
||||
content: string = `I'm cool toaster!`;
|
||||
timeout: number = 5000;
|
||||
toastsLimit: number = 5;
|
||||
type: string = 'default';
|
||||
position = 'toast-top-right';
|
||||
animationType = 'fade';
|
||||
title = 'HI there!';
|
||||
content = `I'm cool toaster!`;
|
||||
timeout = 5000;
|
||||
toastsLimit = 5;
|
||||
type = 'default';
|
||||
|
||||
isNewestOnTop: boolean = true;
|
||||
isHideOnClick: boolean = true;
|
||||
isDuplicatesPrevented: boolean = false;
|
||||
isCloseButton: boolean = true;
|
||||
isNewestOnTop = true;
|
||||
isHideOnClick = true;
|
||||
isDuplicatesPrevented = false;
|
||||
isCloseButton = true;
|
||||
|
||||
types: string[] = ['default', 'info', 'success', 'warning', 'error'];
|
||||
animations: string[] = ['fade', 'flyLeft', 'flyRight', 'slideDown', 'slideUp'];
|
||||
|
|
@ -49,7 +49,7 @@ export class NotificationsComponent {
|
|||
const quote = this.quotes[quoteIndex];
|
||||
|
||||
this.showToast(type, quote.title, quote.body);
|
||||
};
|
||||
}
|
||||
|
||||
private showToast(type: string, title: string, body: string) {
|
||||
this.config = new ToasterConfig({
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue