0.0.35 • Published 3 months ago
@types/java-applet v0.0.35
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
// Type definitions for Java Applet
// Project: https://www.java.com/
// Definitions by: Cyril Schumacher <https://github.com/cyrilschumacher>
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
// 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: Thu, 08 Jul 2021 14:23:24 GMT
- Dependencies: none
- Global values:
JavaAppletStatus
Credits
These definitions were written by Cyril Schumacher.
0.0.35
3 months ago
0.0.32
8 months ago
0.0.33
7 months ago
0.0.34
6 months ago
0.0.31
3 years ago
0.0.30
3 years ago
0.0.29
3 years ago
0.0.28
8 years ago
0.0.27
8 years ago
0.0.26-alpha
8 years ago
0.0.25-alpha
8 years ago
0.0.24-alpha
8 years ago
0.0.23-alpha
8 years ago
0.0.22-alpha
8 years ago
0.0.21-alpha
8 years ago
0.0.20-alpha
8 years ago
0.0.15-alpha
8 years ago
0.0.14-alpha
8 years ago