How to use the esp-js-ui.RegionItem function in esp-js-ui

To help you get started, we’ve selected a few esp-js-ui 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 esp / esp-js / examples / esp-js-ui-module-based-app / src / trading-module / cash-tile / model / root / rootState.ts View on Github external
[RootEvents.bootstrap]: (draft: RootState, ev: RootEvents.BootstrapEvent, model: CashTileModel) => {
        _log.info(`Adding to region ${RegionNames.workspaceRegion}`);
        draft.regionName = RegionNames.workspaceRegion;
        draft.regionItem = new RegionItem(model.modelId);
    }
};