mirror of
https://github.com/EsotericSoftware/spine-runtimes.git
synced 2026-02-04 14:24:53 +08:00
15 lines
558 B
TypeScript
15 lines
558 B
TypeScript
|
|
/** Represents an object instance with an associated DOM element.
|
|
* @see {@link https://www.construct.net/make-games/manuals/construct-3/scripting/scripting-reference/object-interfaces/idominstance | IDOMInstance documentation } */
|
|
declare class IDOMInstance extends IWorldInstance
|
|
{
|
|
/** Get the corresponding HTML element for this instance. Note this only works
|
|
* in DOM mode - it will throw an exception in worker mode. */
|
|
getElement(): HTMLElement;
|
|
|
|
focus(): void;
|
|
blur(): void;
|
|
|
|
setCssStyle(prop: string, val: string): void;
|
|
}
|