Documentations › mmo.edms › js edms MMO.edms · 6 symbols · generated 27 Oct 2026
MMO.edms.config = MMO.edms.config || null; Namespace MMO.edmsfunction MMO.edms.escape(text) Namespace MMO.edmstext *returns 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) Namespace MMO.edmstag stringattributes = {} Object...children ...(Node | string | number | null)returns HTMLElement
function MMO.edms.color(color) Namespace MMO.edmscolor ?stringreturns ?string$color if it is a css color the pages can use (#ff0000, red), null otherwise
function MMO.edms.size(bytes) Namespace MMO.edmsbytes numberreturns stringa size a person reads (1.2 Mo)
function MMO.edms.icon(mime, name = '') Namespace MMO.edmsmime stringname = '' stringreturns stringthe name of the icon of a file (mmo-icon)