MMOframework
Why AI Playground Libraries Developers Agency
FR EN
Build a project live
Index

mmo-developer-block

1 symbol · generated 30 Nov 2026

element

mmo-developer-block

mmo-developer-block.jhs:1

A block of the developer's home (mmo.admin's pages/developer/home.phtml): a title leading to its page, a number, a line of text, what the page puts in it, and its links. It only shows and links: what changes something is on the page it leads to.

<mmo-developer-block heading icon href counter value level text></mmo-developer-block>
Extends
CustomShadowElement
With `counter`, the block reads its number itself: the url answers `{count, level?, text?}` (in mmo.core's envelope or not) -- what a page of `developer/` declares by the `home` key of its `index.json`.
<mmo-developer-block heading="Email log" icon="paper-plane" href="developer/emails" counter="api/developer-counters/emails.json"></mmo-developer-block>

Index

headingthe block's title
iconits icon (mmo-icon's name)
hrefthe page it leads to
counteran url (MMO.url's) answering {count, level?, text?}: the number read when the block shows
valuethe number, when the page gives it
levelok, info, warning or error: the number's tone
texta line under the title
init()
count() asyncRead the number at counter; a counter that fails says so, the block stays.
(default)the block's lines
actionsits links

Attributes7

counter

mmo-developer-block.jhs

an url (MMO.url's) answering {count, level?, text?}: the number read when the block shows

counter

Methods2

count()

asyncmmo-developer-block.jhs:45

Read the number at counter; a counter that fails says so, the block stays.

async count()
returnsPromise<void>

Slots2