NotificationStore
uitemplate
── NotificationStore (singleton) ──────────────────────────────────────────
Terminal
$termuijs render notification-store
Installation
$ bunx termuijs add notification-store
Copies the source into src/components/notification-store/ and installs @termuijs/core, @termuijs/jsx, @termuijs/widgets.
Usage
ts
import { NotificationStore } from '@termuijs/ui'ts
new NotificationStore(options: NotificationCenterOptions = {})API Reference
NotificationStore
| Prop | Type | Required | Description |
|---|---|---|---|
position | 'top-right' | 'bottom-right' | 'top-left' | 'bottom-left' | optional | — |
maxVisible | number | optional | — |
width | number | optional | — |