MDN wants to talk to developers like you: https://qsurvey.mozilla.com/s3/8d22564490d8

Wiki Test Page

Constructors

$name(buf = [];foreach(var param in $params){buf += [''+param.name+' as '+param.type+'']};paramList = web.html(""+string.join(buf,", ")+"");paramList ) returns $type

Description
web.html(""+$description+"")
    buf = [];foreach(var param in $params){buf += ['
  • '+param.name+'. '+param.description+'
  • ']};paramDescrs = web.html(""+string.join(buf,"")+""); paramDescrs

Methods

$name(buf = [];foreach(var param in $params){buf += [''+param.name+' as '+(param.required?"":"optional ")+''+param.type+'']};paramList = web.html(""+string.join(buf,", ")+"");paramList ) returns $type

Description
web.html(""+$description+"")
buf = [];buf += ['
    '];foreach(var param in $params){buf += ['
  • '+param.name+'. '+param.description+'
  • ']};buf += ['
'];paramDescrs = web.html(""+string.join(buf,"")+""); paramDescrs
if ($params[0]["properties"] != null){props = $params[0].properties;buf = [];buf += ['

Properties of '+$params[0].name+'

'];foreach(var prop in props){buf += ['']};buf += ['
Property NameProperty TypeRequired?Default ValueDescription
'+prop.name+''+prop.type+''+(prop.required?"Required":"Optional")+''+(prop.required?"n/a":prop.default)+''+prop.description+'
'];paramDescrs = web.html(""+string.join(buf,"")+""); paramDescrs}

Document Tags and Contributors

 Contributors to this page: Sheppy, kurt_cagle, Aza
 Last updated by: Sheppy,