import {CommonModule} from '@angular/common';
import {ChangeDetectionStrategy, ChangeDetectorRef, Component, Input} from '@angular/core';

@Component({
  selector: 'nj-toast-container',
  templateUrl: './toast-container.component.html',
  styleUrls: ['./toast.component.scss'],
  changeDetection: ChangeDetectionStrategy.OnPush,
  standalone: true,
  imports: [CommonModule]
})
export class ToastContainerComponent {


  /**
   * Whether container is full width or non
   */
  @Input() isFullWidth: boolean;

  /**
   * Container id
   */
  @Input() containerId: string;

  constructor(private cdr: ChangeDetectorRef) {
  }

  /**
   * @ignore
   */
  _markForCheck() {
    this.cdr.markForCheck();
  }
}
