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