# @types/jquery.are-you-sure

> TypeScript definitions for jquery.are-you-sure

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

## Install

```sh
npm install @types/jquery.are-you-sure
pnpm add @types/jquery.are-you-sure
yarn add @types/jquery.are-you-sure
bun add @types/jquery.are-you-sure
```

## Health

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

Positive: has types; no vulnerabilities; high maintenance score; popular repo; extremely popular.

Warnings: low downloads; no esm support; pre 1.0.

Negative: abandoned.

## Facts

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

## Links

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

## Dependencies (1)

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

## Recent versions

- 0.0.34 (latest) — 2023-11-07
- 0.0.31 (ts3.6) — 2021-07-08
- 0.0.30 (ts3.0) — 2020-05-15
- 0.0.29 (ts2.3) — 2017-06-15
- 0.0.28 (ts2.0) — 2016-09-19
- 0.0.33 — 2023-10-18
- 0.0.32 — 2023-09-15
- 0.0.27 — 2016-07-14
- 0.0.26-alpha — 2016-07-08
- 0.0.25-alpha — 2016-07-04
- 0.0.24-alpha — 2016-07-02
- 0.0.23-alpha — 2016-07-01
- 0.0.22-alpha — 2016-07-01
- 0.0.21-alpha — 2016-05-25
- 0.0.20-alpha — 2016-05-20
- … 2 more at https://npm.io/package/@types/jquery.are-you-sure/versions

## README

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

/**Options available to control dirty form checking*/
interface AreYouSureOptions {
    /**Message to show when attempting to quit a dirty form without saving*/
    message?: string | undefined;

    /**Class to assign to the form when dirty*/
    dirtyClass?: string | undefined;

    /**Callback when form is found to be dirty - allows control of submit/reset buttons etc*/
    change?: Function | undefined;

    /**Jquery selector to use to find input elements*/
    fieldSelector?: string | undefined;

    /**Make Are-You-Sure "silent" by disabling the warning message*/
    silent?: boolean | undefined;
}

interface AreYouSure {
    (): JQuery;
    (options: AreYouSureOptions): JQuery;
}

interface JQuery {
    areYouSure: AreYouSure;
}

````

### Additional Details
 * Last updated: Tue, 07 Nov 2023 03:09:37 GMT
 * Dependencies: [@types/jquery](https://npmjs.com/package/@types/jquery)

# Credits
These definitions were written by [Jon Egerton](https://github.com/jonegerton).

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