Documentations › mmo.edms › js edms MMO.edms · 6 symboles · générée le 27 Oct 2026
MMO.edms.config = MMO.edms.config || null; Espace de noms MMO.edmsfunction MMO.edms.escape(text) Espace de noms MMO.edmstext *retourne string$text, for html: a name is shown, never run
A node, from its tag, its attributes (on* functions become listeners) and its children: nodes, or text -- a string is always a text node, never html (a file's name is the user's).
function MMO.edms.node(tag, attributes = {}, ...children) Espace de noms MMO.edmstag stringattributes = {} Object...children ...(Node | string | number | null)retourne HTMLElement
function MMO.edms.color(color) Espace de noms MMO.edmscolor ?stringretourne ?string$color if it is a css color the pages can use (#ff0000, red), null otherwise
function MMO.edms.size(bytes) Espace de noms MMO.edmsbytes numberretourne stringa size a person reads (1.2 Mo)
function MMO.edms.icon(mime, name = '') Espace de noms MMO.edmsmime stringname = '' stringretourne stringthe name of the icon of a file (mmo-icon)