How to use the @hpcc-js/phosphor-shim.MessageLoop.postMessage function in @hpcc-js/phosphor-shim

To help you get started, we’ve selected a few @hpcc-js/phosphor-shim examples, based on popular ways it is used in public projects.

Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.

github hpcc-systems / Visualization / packages / phosphor / src / WidgetAdapter.ts View on Github external
protected onActivateRequest(msg: Message): void {
        super.onActivateRequest(msg);
        if (this._widget) {
            this.resizeAndRender();
        }
        if (this._owner) {
            MessageLoop.postMessage(this._owner, new Msg.WAActivateRequest(this));
        }
    }

@hpcc-js/phosphor-shim

hpcc-js - Phosphor shim

Apache-2.0
Latest version published 8 months ago

Package Health Score

71 / 100
Full package analysis

Similar packages