Constructor
new ValidationView(provider, validationService, validationSource, parentElementValidateButton)
Creates the view.
Parameters:
Name | Type | Description |
---|---|---|
provider | object | The document module. |
validationService | ValidationService | The validation service. |
validationSource | DocumentsInValidationDocumentSource | The source for documents in validation |
parentElementValidateButton | HTMLElement | Where to add the validate button |
Classes
Members
displayingDocumentsToValidate :boolean
Defines wether the interface displays documents to validate (true
) or validated documents (false
).
Type:
- boolean
previousDocumentSource :DocumentSource
Stores the previous document source to restore it (the source for validated documents).
Type:
validationSource :DocumentsInValidationDocumentSource
The validation source.