<!-- Do not edit this file. It is automatically generated by API Documenter. -->
[`Notice`](Notice)
## Notice class
Notification component. Use to present timely, high-value information.
**Signature:**
```typescript
export class Notice
```
## Constructors
| Constructor | Modifiers | Description |
| --- | --- | --- |
| [`(constructor)(message, duration)`](Notice/(constructor).md) | | Constructs a new instance of the <code>Notice</code> class |
## Properties
| Property | Modifiers | Type | Description |
| --- | --- | --- | --- |
| [`noticeEl`](Notice/noticeEl) | | <code>HTMLElement</code> | |
## Methods
| Method | Modifiers | Description |
| --- | --- | --- |
| [`hide()`](Notice/hide) | | |
| [`setMessage(message)`](Notice/setMessage) | | Change the message of this notice. |