There were scripting errors on this page. While those are being addressed by site editors, you can view partial content below.

{{ Edit }}

{{mediawiki.internal(':en:XUL:Method:' + $0 + '|' + (string.trim(($1 || '')) !== '' ? web.html($1) : web.html($0)), "pt")}} (EN)

 - 1 - Interface Name
 - 2 - Source Location relative to @topsrc@/mozilla/
 - 3 - FROZEN/unfrozen/UNDER_REVIEW/EXPERIMENTAL
 - 4 - Since [date/milestone] (in unfrozen case, last-changed-in)
 - 5 - Scriptable? (yes/no)

See MDC:Writing interface reference documentation for an elaborate guide on documenting interfaces on MDC.

web.html($0) is defined in wiki.template('tbsource', mediawiki.args([$1])). It is wiki.template(mediawiki.path('InterfaceStatus:Scriptable_' + $4, "en")) and wiki.template(mediawiki.path('InterfaceStatus:' + $2, "en"), mediawiki.args([$3])).

{{ AlphabeticalTOCForTag }}

$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}

{{ taggedsubpages }}

{{ compatibilityTableAggregatorNoCache }}

{{ compatibilityTableAggregator }}

Document Tags and Contributors

 Last updated by: ethertank,