diff --git a/README.MD b/README.MD index eb0c807..69e4b72 100644 --- a/README.MD +++ b/README.MD @@ -239,6 +239,12 @@ let v = new aspnetValidation.ValidationService(); v.bootstrap({ watch: true }); ``` +Alternatively, to update the validation service for a specific form (which was created or modified dynamically) without using a `MutationObserver`: +```js +let form = document.getElementById('my-form'); +v.scan(form); +``` + ## Logging There is a rudimentary logging infrastructure in place if you want to get more insight into what the library is doing. @@ -254,4 +260,4 @@ export interface Logger { let v = new aspnetValidation.ValidationService(console); v.bootstrap(); -``` \ No newline at end of file +```