TMaize / notify

A frame less notify component

Home Page:https://tmaize.github.io/notify/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

notify

A frame less notify component,watch demo

API

index.d.ts

CDN usage

lib size gzip CDN
all.umd.js 14.56 kB 5.43 kB npmmirror
alert.umd.js 11.50 kB 4.49 kB npmmirror
message.umd.js 9.74 kB 3.77 kB npmmirror
<script src="all.umd.js"></script>
<script>
  notify.message('hello')
</script>

Module usage

yarn add @tmaize/notify
import { alert, message } from '@test/demo'

alert('hello')

alert({ title: 'title', content: 'content', type: 'error' })

message('content')

message.error('content')

message({ content: 'content', type: 'error' })

Acknowledgments

svelte

lew-ui

About

A frame less notify component

https://tmaize.github.io/notify/


Languages

Language:Svelte 65.1%Language:JavaScript 33.2%Language:HTML 1.7%