@woosh/meep-engine
Version:
Pure JavaScript game engine. Fully featured and production ready.
31 lines • 875 B
TypeScript
export default LabelView;
declare class LabelView extends View<HTMLElement> {
constructor(model: any, { classList, transform, format, tag, size, css }?: {
classList?: any[];
transform?: typeof passThrough;
format?: typeof noop;
tag?: string;
size: any;
css: any;
});
model: any;
__extractor: (arg0: any) => any;
__formatter: typeof noop | ((arg0: any) => string);
__transform: typeof passThrough;
/**
* @private
* @param {number} x
* @param {number} y
*/
private updateSize;
/**
*
* @param {string} v
*/
updateText(v: string): void;
updateTransform(): void;
}
import View from "../View.js";
import { noop } from "../../core/function/noop.js";
import { passThrough } from "../../core/function/passThrough.js";
//# sourceMappingURL=LabelView.d.ts.map