Constructor
new DocumentValidationModule(provider, requestService, configServer, parentElementValidateButton)
Creates the document validation module. Creates a validation service to manage HTTP requests, a validation source to change the retrieving URL and finally the view elements.
Parameters:
Name | Type | Description |
---|---|---|
provider | object | document provider |
requestService | RequestService | The request service |
configServer | object | The server configuration |
parentElementValidateButton | HTMLElement | Where to add the validate button |