@woosh/meep-engine
Version:
Pure JavaScript game engine. Fully featured and production ready.
103 lines • 2.16 kB
TypeScript
export class DomElementProcessorManager extends EnginePlugin {
id: string;
/**
*
* @type {Element|null}
*/
__root: Element | null;
/**
*
* @type {DomElementBindingDescription[]}
* @private
*/
private __descriptors;
/**
*
* @type {DomElementBinding[]}
* @private
*/
private __bindings;
/**
*
* @type {Map<Element, DomElementBinding[]>}
* @private
*/
private __element_to_bindings;
/**
*
* @type {function}
* @private
*/
private __bound_mutation_callback;
/**
*
* @type {MutationObserver}
* @private
*/
private __mutation_observer;
/**
*
* @param {DomElementBindingDescription} descriptor
*/
register(descriptor: DomElementBindingDescription): void;
/**
*
* @param {DomElementBindingDescription} descriptor
* @return {boolean}
*/
deregister(descriptor: DomElementBindingDescription): boolean;
/**
*
* @param {sequence<MutationRecord>} mutations_list
* @param {MutationObserver} observer
* @private
*/
private __mutation_callback;
/**
*
* @param {Element} element
* @param {DomElementBindingDescription} descriptor
* @private
*/
private __bind;
/**
*
* @param {Element} element
* @private
*/
private __handleAttachedElement;
/**
*
* @param {Element} element
* @private
*/
private __handleRemovedElement;
/**
*
* @return {Engine|null}
*/
getEngine(): Engine | null;
/**
*
* @param {number} timeDelta in seconds
* @private
*/
private __handle_frame;
/**
*
* @param {DomElementBinding[]} value
* @param {Element} key
* @private
*/
private __handle_frame_entry;
startup(): Promise<any>;
shutdown(): Promise<any>;
/**
*
* @param {Element} root
*/
link(root: Element): void;
unlink(): void;
}
import { EnginePlugin } from "../../plugin/EnginePlugin.js";
//# sourceMappingURL=DomElementProcessorManager.d.ts.map