mozilla
Your Search Results

    Clipboard Test

    Jetpack's clipboard support API provides a standardized way for features to access the clipboard. Features can get and set the clipboard in various flavors of data type.

    The namespace associated with this API is jetpack.clipboard which provides both read and write access to the clipboard. The API is fairly straightforward; examples can be found here.

    This API currently lives in the future and must be imported for use.

    jetpack.future.import("clipboard");

    Methods

     

    Additional information can be found at clipboard API proposal

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

    Example if ($title !=""){": "+$title}

    web.html(""+$textBefore)
    web.html('
    '+$listing+'
    ')
    web.html(""+$textAfter)

    Document Tags and Contributors

    Contributors to this page: Sheppy, Aza
    Last updated by: Sheppy,
    Hide Sidebar