0.1.0 • Published 3 years ago
platformalert v0.1.0
plarfome-alert
Install
npm install platform-alert
Use
<platform-alert
orientation="left [right]"
socket-url="wss://echo.websocket.org"
theme="dark [soft]"
public-key="your public key"
></platform-alert>
Orientation
: Orientation decides the direction of detail popup placement relative to alert icon. Default is "right". Possible values - "left", "right"
socket-url
: Alert component usaes socket to pull the data. Provie correct wss url.
public-key
: Provide public key if any to associate wss pull message.
theme
: Alert supports two theme "soft" and "dark". Default theme is "soft".
0.1.0
3 years ago