1
私はangular-toastrを使用しています。toastrオプションpreventOpenDuplicates
を使用してtoastrを複製しないようにしようとしていますが、動作していないか、間違っている可能性があります。angular-toastr preventOpenDuplicatesが動作しません
toastr:あなたは重複を表示しないようにangular-toastr
を伝える
toastr.error('test', 'open duplicate', {
closeButton: true,
tmeOut: 0,
preventOpenDuplicates:true,
progressBar: true
});
preventDuplicates toastrConfigでセットした後、正常に動作しますが、その閉じた後に再び同じtoastrを開いていません。 –
'preventOpenDuplicates'は私の場合には役に立ちますが、動作しないので、私の質問を更新してください。 –
@ gauravbhavsar更新の回答: – tanmay