MMOframework
Pourquoi l'IA Playground Bibliothèques Documentation Rechercher Agence
FR EN
Index

edms

MMO.edms · 6 symboles · générée le 27 Oct 2026

constant

config

edms.js:12
MMO.edms.config = MMO.edms.config || null;
Espace de noms
MMO.edms
function

escape

edms.js:18
function MMO.edms.escape(text)
Espace de noms
MMO.edms
text*
retournestring$text, for html: a name is shown, never run
function

node

edms.js:30

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.edms
tagstring
attributes = {}Object
...children...(Node | string | number | null)
retourneHTMLElement
function

color

edms.js:48
function MMO.edms.color(color)
Espace de noms
MMO.edms
color?string
retourne?string$color if it is a css color the pages can use (#ff0000, red), null otherwise
function

size

edms.js:56
function MMO.edms.size(bytes)
Espace de noms
MMO.edms
bytesnumber
retournestringa size a person reads (1.2 Mo)
function

icon

edms.js:65
function MMO.edms.icon(mime, name = '')
Espace de noms
MMO.edms
mimestring
name = ''string
retournestringthe name of the icon of a file (mmo-icon)