PlayUI can be installed and used as a composed, instantiable module. Its core functions may also be imported and used as standalone modules.
Add the following script tag to your page to include the instantiable edition of PlayUI.
<script src="https://unpkg.com/@web-native-js/play-ui/dist/main.js"></script><script>// The above tag loads PlayUI into a global "WebNative" object.const $ = window.WebNative.PlayUI;</script>
$ npm i -g npm$ npm i --save @web-native-js/play-ui
Import the default export to include the instantiable edition of PlayUI in a project.
Import a module to use a specific functionality in your project. Each module has been documented with their specific installation path. Here are examples.
Visit the API reference.