0.5.0 • Published 3 years ago

@emanon/ema-toast v0.5.0

Weekly downloads
15
License
MIT
Repository
github
Last release
3 years ago

ema-toast

Overall

Used to notify a user of small information.

Properties

PropertyAttributeTypeDefaultDescription
iconiconstring""Designates a specific icon
openopenbooleanfalseToast will be visible when true.
outlinedoutlinedbooleanfalseMakes the background transparent and applies a thin border.
placementplacement"top" \| "bottom""bottom"Position where to show on the window.
timeouttimeoutnumber2000Time (in milliseconds) to wait until toast is automatically closed. Use -1 to keep open indefinitely.

Events

EventTypeDescription
closedCustomEvent<{}>Fires when Drawer has closed.
openedCustomEvent<{}>Fires when Drawer has opened.
request-closeCustomEvent<{ accept: () => void; }>Fires when the toast want to be closed.Call the function passed to accept.

CSS Custom Properties

PropertyDescription
--ema-c-toast-colorApplies specified color to the control.
0.5.0

3 years ago

0.4.0

3 years ago

0.3.3

3 years ago

0.3.2

3 years ago

0.3.1

3 years ago

0.3.0

3 years ago

0.2.0

3 years ago

0.1.0

3 years ago

0.0.15

4 years ago

0.0.14

4 years ago

0.0.12

5 years ago

0.0.11

5 years ago

0.0.9

5 years ago

0.0.8

5 years ago

0.0.7

5 years ago

0.0.6

5 years ago

0.0.5

6 years ago

0.0.4

6 years ago

0.0.3

6 years ago

0.0.2

6 years ago