strict

a read-only boolean flag indicating whether a strict mode is enabled for Webix library

boolean strict;

Example

if(webix.env.strict)
   //your code


Default value:

false
Details

In Strict mode Webix doesn't use "eval".

Strict mode can be enabled by defining a "webix_strict" global variable before Webix files are included into the page:

<script>
    window.webix_strict = true;
</script> <script src="../webix.js" type="text/javascript"></script> <link rel="stylesheet" href="../webix.css" type="text/css">

Note that datatable math won't work with the strict mode enabled.

Back to top