View Documents
ViewDocumentComponent
The ViewDocumentComponent
allows you to view existing documents using the FrameViewer component.
Installation
Install the dependencies from npm
Properties
Properties | Description |
---|---|
type | The document type |
documentID | The document ID |
documentJson | The document object |
frames | The database Class Frame, or object of all class frames |
closeButtonClick | A function that acts as a callback when the panel exit |
deleteDocument | A function that acts as a callback when the delete button is clicked |
editDocument | A function that acts as a callback when the edit button is clicked |
getDocumentById | A function that acts as a callback when the a link property (a link to another document) is clicked inside the document interface |
Example
View the ViewDocumentComponent integrated inside a dashboard here
Last updated