Home User Documentation Developer Documentation GitHub

Namespace: options

plastic. options

plastic.js default options

All options are inherited (and can be overwritten) by the specific plastic.js element Written in JSON Notation

Members

staticplastic.options.benchmarkboolean

Logs Benchmark Infos to the console

staticplastic.options.debugboolean

Debug Mode

This enables logging of some informations to the console This also ignores Exception handiling. If an error occurs it will crash hard and precice.

staticplastic.options.heightstring

Height of Canvas, if not given

staticplastic.options.logboolean

If true, plastic.js will keep a log object It is stored in plastic.msg._logs and can be JSON Dumped via plastic.msg.dumpLog();

staticplastic.options.showInfoBoxboolean

If true, an additional info box is shown below the plastic element This displays additional infos like execution time

staticplastic.options.timeoutnumber

Default AJAX Timeout (in ms)

staticplastic.options.widthstring

Width of Canvas, if not given