Example usage of the Zamok WebView API
- Clone this repository.
-
This will start the development server on port 8081.
git clone [email protected]:YOUR_USERNAME/zamok-api-demo.git cd zamok-api-demo git checkout dev npm install -g yarn yarn yarn start
- Add
http://localhost:8081/?zamok=16.2.0
to Webview API Origins. - Set the New Window Action to
newWindowToTab
- Set the Kiosk Template to Website.
- Change the URL to
http://localhost:8081/?zamok=16.2.0
. - Save and Apply changes.
- Start kiosk.
yarn deploy