antares/src/renderer/ipc-api/Views.js

13 lines
282 B
JavaScript
Raw Normal View History

2020-12-26 14:47:15 +01:00
'use strict';
import { ipcRenderer } from 'electron';
export default class {
static getViewInformations (params) {
return ipcRenderer.invoke('get-view-informations', params);
}
static dropView (params) {
return ipcRenderer.invoke('drop-view', params);
}
}