MMOframework
Why AI Playground Libraries Documentation Search Agency
FR EN
Index

mmo-notification-center

1 symbol · generated 27 Oct 2026

element

mmo-notification-center

mmo-notification-center.jhs:1

The notification centre of the top bar: a bell counting what the user has not read, opening the latest notifications (MMO\client\Notifications). A notification leads to its url and is then read. Asks the server when the page loads, then every poll seconds while the page is in sight. <mmo-app> adds it by itself when the application declares MMO\client\controllers\NotificationController.

<mmo-notification-center></mmo-notification-center>
Extends
CustomShadowElement

Index

constructor()
init()
load() asyncAsk the server for the latest notifications.
schedule(seconds)
setUnread(count)
renderList()
when(date)
open(n) asyncMark a notification read, and go where it leads.
read(id, read) async
readAll() async
toggle()
close()
.openthe list is open

Methods12

CSS hooks1