SxManager

Type: Class

How to get sxManager?

JavaScript

import sxManager from 'fontoxml-modular-schema-experience/src/sxManager.js'

The SxManager records configuration modules to be used in the creation of SchemaExperience instances. A SchemaExperience uses a subset of the modules configured in the entire application.

A module is automatically created for every package using the dependencies specified in that package's manifest. This module can be configured by creating a configureSxModule.js file in the src root of the package.

JavaScript

export default function configureSxModule(sxModule) {
	// Configure sxModule, e.g., using fontoxml-families
}

Methods

defineSchemaExperience

Type: Function

Defines a schema experience for lazy loading.

Arguments

Returns