0.0.12 • Published 7 years ago

@mambasdk/pos v0.0.12

Weekly downloads
-
License
Apache-2.0
Repository
-
Last release
7 years ago

@mambasdk/pos

Simulator

For mamba apps to be able to run on a common browser, you must simulate the real POS environment.

  • Just the import is enough to create the simulated environment.
/** Boot the Mamba simulator */
import '@mambasdk/pos/simulator/index.js';
  • However, you can also initialize the digital POS component, which will be the container for your mamba app when running on a browser. A store must be passed to the component.
import * as Simulator from '@mambasdk/pos/simulator/index.js';
import store from './store.js';

/** Initialize the digital POS component */
new Simulator.POS({ target: document.body, store });

It's obligatory to include the entry file which starts the simulator before the app.

0.0.12

7 years ago

0.0.11

7 years ago

0.0.10

7 years ago

0.0.9

7 years ago

0.0.8

7 years ago

0.0.7

7 years ago

0.0.6

7 years ago

0.0.5

7 years ago

0.0.4

7 years ago

0.0.3

7 years ago

0.0.2

7 years ago

0.0.1

7 years ago