1.0.4 • Published 5 months ago

@iro/toast v1.0.4

Weekly downloads
-
License
-
Repository
-
Last release
5 months ago

Toast

A toast component implemented based on Svelte.

DEMO

Usage

install

pnpm i @iro/toast

svelte

import {Toast, toast} from '@iro/toast'

// +page.svelte
<button on:click={() => toast.show('Wow!!!')}>toast</button>

// +layout.svelte
<Toast/>
<Toast --color="white" --background-color="green" --icon-size="20px" auto={false}/>
<Toast --color="white" --background-color="green" --icon-size="20px" closeable={false} --icon-color="yellow"/>
1.0.4

5 months ago

1.0.2

11 months ago

1.0.1

12 months ago

1.0.0

12 months ago

0.1.1

1 year ago

0.1.0

1 year ago

0.0.2

1 year ago

0.0.1

1 year ago