0.1.0 • Published 9 months ago

little-toast v0.1.0

Weekly downloads
-
License
ISC
Repository
github
Last release
9 months ago

little-toast

Screenshot

Development

npm install
npm run build

open file example.html in browser.

Usage

ESM

import { showToast } from 'little-toast';
import 'little-toast/dist/styles.css';

showToast('hello');

UMD

  1. 引入
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/little-toast/dist/styles.css" />
<script src="https://cdn.jsdelivr.net/npm/little-toast/dist/toast.umd.js"></script>
  1. 使用
LittleToast.showToast('hello');
0.1.0

9 months ago

0.0.1

9 months ago