opd-notify
v0.0.6
Published
Simple notify web component
Readme
opd-notify
Simple notify web component
Properties
| Property | Attribute | Description | Type | Default |
| ----------- | ----------- | ----------- | --------- | ----------- |
| closeicon | closeicon | | string | undefined |
| default | default | | boolean | true |
| duration | duration | | number | 6000 |
| header | header | | string | undefined |
| imagepath | imagepath | | string | undefined |
| message | message | | string | undefined |
| showimage | showimage | | boolean | true |
Methods
hide() => Promise<void>
Returns
Type: Promise<void>
show() => Promise<void>
Returns
Type: Promise<void>
CSS Custom Properties
| Name | Description |
| --------------------------- | --------------------------------- |
| --background-color | #f0f0f0 |
| --border-color | #e8e8e8; |
| --opd-notify-box-shadow | 2px 2px rgba(157, 157, 157, 0.2); |
| --opd-notify-image-height | 30px; |
| --opd-notify-image-width | 30px; |
