UNPKG

reactronic-dom

Version:

Reactronic DOM - Transactional Reactive Front-End Development Framework

23 lines (22 loc) 1.04 kB
export class RxNode { constructor(id, args, render, superRender, priority, childrenShuffling, type, inline, creator, host, instance) { this.id = id; this.args = args; this.render = render; this.superRender = superRender; this.priority = priority; this.childrenShuffling = childrenShuffling; this.type = type; this.inline = inline; this.creator = creator; this.host = host; this.instance = instance; this.old = undefined; this.prevSibling = undefined; } get parent() { return this.host; } get revision() { var _a, _b; return (_b = (_a = this.instance) === null || _a === void 0 ? void 0 : _a.revision) !== null && _b !== void 0 ? _b : ~0; } get native() { var _a; return (_a = this.instance) === null || _a === void 0 ? void 0 : _a.native; } set native(e) { this.instance.native = e; } get resizeObserver() { var _a; return (_a = this.instance) === null || _a === void 0 ? void 0 : _a.resizeObserver; } }