# @types/jquery-validation-unobtrusive

> TypeScript definitions for jquery-validation-unobtrusive

Latest version **3.2.35** (published 2023-11-07) · MIT license · 0 weekly downloads

## Install

```sh
npm install @types/jquery-validation-unobtrusive
pnpm add @types/jquery-validation-unobtrusive
yarn add @types/jquery-validation-unobtrusive
bun add @types/jquery-validation-unobtrusive
```

## Health

**Score 40/100 (D)** — status: abandoned.

Positive: has types; no vulnerabilities; popular repo; extremely popular.

Warnings: low downloads; no esm support.

Negative: abandoned.

## Facts

| | |
|---|---|
| Version | 3.2.35 |
| Published | 2023-11-07 |
| First published | 2016-05-17 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | bundled |
| Module format | CommonJS |
| Dependencies | 1 |
| Unpacked size | 5.5 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 51419 |
| Maintainers | types |

## Links

- npm: https://www.npmjs.com/package/@types/jquery-validation-unobtrusive
- Repository: https://github.com/DefinitelyTyped/DefinitelyTyped
- Homepage: https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/jquery-validation-unobtrusive
- npm.io page: https://npm.io/package/@types/jquery-validation-unobtrusive

## Dependencies (1)

- [@types/jquery.validation](https://npm.io/package/@types/jquery.validation.md) *

## Recent versions

- 3.2.35 (latest) — 2023-11-07
- 3.2.32 (ts2.3) — 2017-06-15
- 3.2.31 (ts2.0) — 2016-09-19
- 3.2.34 — 2023-10-18
- 3.2.33 — 2023-09-15
- 3.2.30 — 2016-08-25
- 3.2.29 — 2016-08-19
- 3.2.28 — 2016-08-02
- 3.2.27 — 2016-07-14
- 3.2.26-alpha — 2016-07-08
- 3.2.25-alpha — 2016-07-04
- 3.2.24-alpha — 2016-07-02
- 3.2.23-alpha — 2016-07-01
- 3.2.22-alpha — 2016-07-01
- 3.2.21-alpha — 2016-05-25
- … 3 more at https://npm.io/package/@types/jquery-validation-unobtrusive/versions

## README

# Installation
> `npm install --save @types/jquery-validation-unobtrusive`

# Summary
This package contains type definitions for jquery-validation-unobtrusive (https://github.com/aspnet/jquery-validation-unobtrusive).

# Details
Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/jquery-validation-unobtrusive.
## [index.d.ts](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/jquery-validation-unobtrusive/index.d.ts)
````ts
/// <reference types="jquery.validation" />

declare namespace MicrosoftJQueryUnobtrusiveValidation {
    type JQuerySelector = string | Document | Element | JQuery;

    interface Adapter {
        name: string;
        params: string[];
        adapt: Function;
    }

    interface Adapters extends Array<Adapter> {
        add(adapterName: string, fn: Function): Adapters;
        add(adapterName: string, params: string[], fn: Function): Adapters;
        addMinMax(
            adapterName: string,
            minRuleName: string,
            maxRuleName: string,
            minMaxRuleName: string,
            minAttribute?: string,
            maxAttribute?: string,
        ): Adapters;
        addSingleVal(adapterName: string, ruleName: string): Adapters;
        addSingleVal(adapterName: string, attribute: string, ruleName: string): Adapters;
        addBool(adapterName: string, ruleName?: string): Adapters;
        addMethod(adapterName: string, fn: (value: string, element: Element, params: any) => any): Adapters;
    }

    interface Validator {
        adapters: Adapters;
        parseElement(element: JQuerySelector, skipAttach?: boolean): void;
        parse(selector: JQuerySelector): void;
    }
}

declare namespace JQueryValidation {
    interface ValidatorStatic {
        unobtrusive: MicrosoftJQueryUnobtrusiveValidation.Validator;
    }
}

````

### Additional Details
 * Last updated: Tue, 07 Nov 2023 03:09:37 GMT
 * Dependencies: [@types/jquery.validation](https://npmjs.com/package/@types/jquery.validation)

# Credits
These definitions were written by [Matt Brooks](https://github.com/EnableSoftware).

---
_Source: https://npm.io/package/@types/jquery-validation-unobtrusive · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
