# @types/java-applet

> TypeScript definitions for java-applet

Latest version **0.0.35** (published 2024-01-30) · MIT license · 0 weekly downloads

## Install

```sh
npm install @types/java-applet
pnpm add @types/java-applet
yarn add @types/java-applet
bun add @types/java-applet
```

## 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.35 |
| Published | 2024-01-30 |
| First published | 2016-05-17 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | bundled |
| Module format | CommonJS |
| Dependencies | 0 |
| Unpacked size | 5.1 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 51444 |
| Maintainers | types |

## Links

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

## Recent versions

- 0.0.35 (latest) — 2024-01-30
- 0.0.34 (ts4.5) — 2023-11-07
- 0.0.31 (ts3.6) — 2021-07-08
- 0.0.29 (ts3.5) — 2021-03-25
- 0.0.28 (ts2.0) — 2016-09-19
- 0.0.33 — 2023-10-18
- 0.0.32 — 2023-09-15
- 0.0.30 — 2021-06-25
- 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
- … 3 more at https://npm.io/package/@types/java-applet/versions

## README

# Installation
> `npm install --save @types/java-applet`

# Summary
This package contains type definitions for java-applet (https://www.java.com/).

# Details
Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/java-applet.
## [index.d.ts](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/java-applet/index.d.ts)
````ts
// HTMLAppletElement was removed in TS 4.4's DOM APIs
interface HTMLAppletElement extends HTMLElement {}

/**
 * @summary Java applet Status. More details: {@link http://docs.oracle.com/javase/8/docs/technotes/guides/deploy/applet_dev_guide.html#JSDPG719|Applet Status And Event Handlers}
 */
declare enum JavaAppletStatus {
    /**
     * @summary Applet is loading.
     */
    Loading = 1,

    /**
     * @summary Applet has loaded completely and is ready to receive JavaScript calls.
     */
    Ready = 2,

    /**
     * @summary Error while loading applet.
     */
    Error = 3,
}

/**
 * @summary Interface for Java applet object.
 * @author  Cyril Schumacher
 * @version 1.0
 */
interface JavaApplet extends HTMLAppletElement {
    /**
     * @summary Handler if the applet status is {@link JavaAppletStatus#Error}. An error has occurred while loading the applet.
     */
    onError?: Function | undefined;

    /**
     * @summary Handler if the applet status is {@link JavaAppletStatus#Ready}. Applet has finished loading and is ready to receive JavaScript calls.
     */
    onLoad?: Function | undefined;

    /**
     * @summary Handler if the applet has stopped.
     */
    onStop?: Function | undefined;

    /**
     * @summary Java applet Status.
     */
    status?: JavaAppletStatus | undefined;
}

````

### Additional Details
 * Last updated: Tue, 30 Jan 2024 21:35:45 GMT
 * Dependencies: none

# Credits
These definitions were written by [Cyril Schumacher](https://github.com/cyrilschumacher).

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