0.3.2 • Published 3 years ago

@emanon/ema-notification v0.3.2

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

ema-notification

Overall

Used to notify users of some infomation. Similar to Web Notification.

Properties

PropertyAttributeTypeDefaultDescription
placementplacement"top_right" \| "bottom_right" \| "bottom_left" \| "top_left""top_right"Where notifications are displayed.

CSS Custom Properties

PropertyDefaultDescription
--ema-c-notification-space"8px"Space between notification items.

ema-notification-item

Overall

ema-notification's item element.

Properties

PropertyAttributeTypeDefaultDescription
ididstring""ID of the item.Used as an argument of item tap events.
openedopenedbooleanfalseVisibility flag.
texttextstring""Notification item text.
titletitlestring""Title of the notification item.

Events

EventTypeDescription
item-tapCustomEvent<{ id: string; }>Fires when an item is tapped.Returns selected option's id.

CSS Custom Properties

PropertyDefaultDescription
--ema-c-notificationItem-bgColor"#5289ea"Background color.
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.11

4 years ago

0.0.10

4 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