Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 7 additions & 1 deletion README.MD
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand All @@ -254,4 +260,4 @@ export interface Logger {

let v = new aspnetValidation.ValidationService(console);
v.bootstrap();
```
```