DocumentsSaver

How to get DocumentsSaver

ES2015+:

import DocumentsSaver from 'fontoxml-remote-documents/documentsSaver'

ES5:

define([
	'fontoxml-remote-documents/documentsSaver'
], function (
	DocumentsSaver
) {
});

Type: Class

The DocumentsSaver saves all currently opened / loaded documents upon request and auto saves a (focused) document whenever it mutates.

Methods

Name Description
isAnyDocumentDirty

Returns true if any saves are still pending or in progress.


  Returns

Type: Boolean