11 lines
612 B
JavaScript
11 lines
612 B
JavaScript
shadow$provide.module$node_modules$pixi_DOT_js$lib$scene$container$container_mixins$onRenderMixin = function(global, require, module, exports) {
|
|
exports.onRenderMixin = {_onRender:null, set onRender(func) {
|
|
const renderGroup = this.renderGroup || this.parentRenderGroup;
|
|
func ? (this._onRender || renderGroup?.addOnRender(this), this._onRender = func) : (this._onRender && renderGroup?.removeOnRender(this), this._onRender = null);
|
|
}, get onRender() {
|
|
return this._onRender;
|
|
}};
|
|
};
|
|
|
|
//# sourceMappingURL=module$node_modules$pixi_DOT_js$lib$scene$container$container_mixins$onRenderMixin.js.map
|