烤面包机不删除html元素

时间:2018-10-28 11:30:39

标签: angular popup toastr angular-toastr

我对烤面包机弹出窗口有疑问。当我显示烤面包机弹出窗口后,它消失了一段时间,但html元素未删除,并且该html代码阻止了其他html元素。库和版本为 “ ngx-toastr”:“ ^ 9.1.0”

Toastr html代码如下:

<div id="toast-container" class="toast-bottom-right toast-container">
    <div toast-component="" class="toast-success toast ng-trigger ng-trigger-flyInOut" style="opacity: 0;">           
        <button aria-label="Close" class="toast-close-button ng-tns-c8-0 ng-star-inserted" style=""><span class="ng-tns-c8-0" aria-hidden="true">×</span></button>
        <div class="toast-title ng-star-inserted" aria-label="Workflow Added!" style=""> Successfully Added! </div>   
        <div aria-live="polite" role="alertdialog" class="toast-message ng-star-inserted" aria-label="Workflow added." style=""> Workflow added. </div>
    </div>
</div>

0 个答案:

没有答案