@sonicgarden/bs-toast-element
TypeScript icon, indicating that this package has built-in type declarations

0.5.2 • Public • Published

<bs-toast> element

Installation

$ npm install @sonicgarden/bs-toast-element

Usage

import { openToast } from '@sonicgarden/bs-toast-element'

openToast('Hello, world', { bgColor: 'success', delay: 5000 })

Refer to the type definitions for more options.

Browser support

Browsers without native custom element support require a polyfill.

  • Chrome
  • Firefox
  • Safari
  • Microsoft Edge

Development

pnpm i
pnpm dev

License

Distributed under the MIT license. See LICENSE for details.

Readme

Keywords

none

Package Sidebar

Install

npm i @sonicgarden/bs-toast-element

Weekly Downloads

289

Version

0.5.2

License

MIT

Unpacked Size

9.86 kB

Total Files

8

Last publish

Collaborators

  • latica.jp
  • aki77
  • mat_aki
  • tochi
  • interu
  • t-kojima
  • kontikun
  • hiropon