electron-ipc-reactive

1.0.6 • Public • Published

Electron IPC Reactive

Screenshot

Examples

// app.js
'use strict';
const {app,BrowserWindow} = require('electron');
app.on('ready',function(){
  // other init stuff here
  require('electron-ipc-reactive/main');
});
// renderer.js
require('electron-ipc-reactive');
<!-- index.html -->
<!doctype html>
<html>
  <body>
    <input type="checkbox" ipc-value-bind="theme_blue"/>
    <div ipc-class='{"blue":"theme_blue"}'></div>
    <input type="text" ipc-value-bind="textbox"/>
    <div ipc-value-bind="textbox"></div>
    <script src="renderer.js"></script>
  </body>
</html>

As always, The source is the best documentation.

Contributing

Feel free to send me a pull request

Readme

Keywords

Package Sidebar

Install

npm i electron-ipc-reactive

Weekly Downloads

0

Version

1.0.6

License

ISC

Last publish

Collaborators

  • simon.hochrein