mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2025-10-16 12:05:41 +00:00
23 lines
399 B
TypeScript
23 lines
399 B
TypeScript
/// <reference path="java-applet.d.ts" />
|
|
|
|
/**
|
|
* @summary Test for the applet status.
|
|
*/
|
|
function testStatus() {
|
|
var java: Java = {
|
|
status: AppletStatus.Loading
|
|
};
|
|
}
|
|
|
|
/**
|
|
* @summary Test for the handlers.
|
|
*/
|
|
function testHandlers() {
|
|
var handler: Function = () => {};
|
|
var java: Java = {
|
|
onError: handler,
|
|
onLoad: handler,
|
|
onStop: handler
|
|
};
|
|
}
|