github scttcper/ngx-toastr 1.4.0

latest releases: v14.2.2, v14.2.1, v14.2.0...
5 years ago

The default toast component has changed and is now an attribute instead of an element. Classes will be applied to this. Fixes #15

before

<div class="overlay-container">
  <div id="toast-container" class="toast-top-right">
    <toast-component>
      <div class="toast toast-success" style="opacity: 1;">
        <div class="toast-title" aria-label="title">title</div>
        <div class="toast-message" aria-label="Message">
        Message
        </div>
      </div>
    </toast-component>
  </div>
</div>

after

<div class="overlay-container">
  <div id="toast-container" class="toast-top-right">
    <div toast-component class="toast-success toast">
      <div class="toast-title" aria-label="Title">Title</div>
      <div class="toast-message" aria-label="Message">
        Message
      </div>
    </div>
  </div>
</div>

Don't miss a new ngx-toastr release

NewReleases is sending notifications on new releases.