1.0.0 • Published 1 year ago

electron-touchscreen v1.0.0

Weekly downloads
10
License
MIT
Repository
github
Last release
1 year ago

electron-touchscreen

Boilerplate for touchscreen or kiosk apps built with Electron.

Install

npm install electron-touchscreen --save

Run the example

cd example
npm run start

Basic Usage

const path = require('path');
const url = require('url');
const electron = require('electron');

const TouchscreenWindow = require('electron-touchscreen');

let win = null;
const app = electron.app;

app.on('ready', ()=> {
  const demo_url = url.format({
    pathname: path.join(__dirname, 'index.html'),
    protocol: 'file', 
    slashes: true,
  });

  win = new TouchscreenWindow({url: demo_url});
});

Key Commands

  • CMD+K: Toggles fullscreen
  • CMD+C: Toggle cursor visibility
1.0.0

1 year ago

0.0.11

5 years ago

0.0.10

6 years ago

0.0.9

6 years ago

0.0.8

6 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