Ejemplo n.º 1
1
 createBasicNotification(): void {
   this.notification.blank('Notification Title', 'This is the content of the notification. This is the content of the notification. This is the content of the notification.', {
     nzStyle: {
       width     : '600px',
       marginLeft: '-265px'
     },
     nzClass: 'test-class'
   });
 }
Ejemplo n.º 2
0
  createAutoUpdatingNotifications(): void {
    this.notification.blank('Notification Title', 'Description.', {
        nzKey: 'key'
      }
    );

    setTimeout(() => {
      this.notification.blank('New Title', 'New description', {
        nzKey: 'key'
      });
    }, 1000);
  }
Ejemplo n.º 3
0
 createBasicNotification(template: TemplateRef<{}>): void {
   this.notification.template(template);
 }
Ejemplo n.º 4
0
 setTimeout(() => {
   this.notification.blank('New Title', 'New description', {
     nzKey: 'key'
   });
 }, 1000);
Ejemplo n.º 5
0
 createBasicNotification(): void {
   this.notification.blank( 'Notification Title', 'This is the content of the notification. This is the content of the notification. This is the content of the notification.');
 }