Using scope variables

It is possible to read scope object parameters and use a custom object parameter throughout FontoXML. This can then be used in whatever way you see fit.

Do not use scope parameters as a security measure as the scope could freely be edited by users.

The scope parameter is acquired as follows:

import configurationManager from 'fontoxml-configuration/src/configurationManager.js';
const scope = configurationManager.get('scope');


The scope can then be used as any other Javascript Object.