Introducing Socket Firewall: Free, Proactive Protection for Your Software Supply Chain.Learn More
Socket
Book a DemoInstallSign in
Socket

@emanon/ema-notification

Package Overview
Dependencies
Maintainers
11
Versions
14
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@emanon/ema-notification

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

latest
Source
npmnpm
Version
0.3.2
Version published
Maintainers
11
Created
Source

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.

FAQs

Package last updated on 28 Jan 2021

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts