loadDocument
Initializes a document passed as a parameter. This method should be used when you would like to load a document from a database and start editing it, instead of creating something new.
Parameters
document
Initializes a document passed as a parameter. This method should be used when you would like to load a document from a database and start editing it, instead of creating something new.