Skip to content

v2.3.0: bug fixes, improvements to configuring

Latest
Compare
Choose a tag to compare
@jonathan-grah jonathan-grah released this 10 Apr 15:09
· 31 commits to master since this release
3b5013f
  • FIX: Don't use "display: block" when showing a toast
  • FIX: If toast isn't interactable, fix padding issues
  • FIX: css 'box-sizing' property was causing positioning issues for the close icon
  • FEAT: 'visible' can now be an option and behaves the same as show()/hide()
  • FEAT: multiple ways of creating a toast (e.g. a toast with no custom options)
    • new Toast("hello world")
    • new Toast("hello world", { visible: false })
    • new Toast({ content: "hello world", visible: false })