IframeCmsClient

How to get IframeCmsClient

ES2015+:

import IframeCmsClient from 'fontoxml-connectors-iframe/iframeCmsClient'

ES5:

define([
	'fontoxml-connectors-iframe/iframeCmsClient'
], function (
	IframeCmsClient
) {
});

Type: Class

Implementation of CmsClient that communicates with the CMS by using the postMessage API to send messages to the parent of the FontoXML iframe. These messages mostly follow the normal connector contracts.

Import fontoxml-connectors-iframe/iframeCmsClient to obtain the instance.

Always create a Connector instance for a CMS endpoint. Pass the iframeCmsClient instance to the Connector base class constructor to have them communicate with the CMS correctly.