TeamLab Document Editors API Documentation
config > document > info
- author - the name of the document author/creator. parameter type: string
- folder - the folder where the document is stored (can be empty in case the document is stored in the root folder). parameter type: string
- created -defines the document creation date. parameter type: string
- sharingSettings - defines the settings which will allow to share the document with other users:
- user - the name of the user the document will be shared with; parameter type: string
- permissions - the access rights for the user with the name above. Can be Full Access, Read Only or Deny Access. parameter type: string
var docEditor = new DocsAPI.DocEditor('placeholder', { document: { info: { author: 'Jessie Jamieson', folder: 'Example Files', created: '12/12/2012 3:46 PM', sharingSettings: [ { user: 'John Smith', permissions: 'Full Access' }, ... ] } } });
Please see other sections for more options: