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

17 lines
374 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);
}
2020-12-26 15:37:34 +01:00
static alterView (params) {
return ipcRenderer.invoke('alter-view', params);
}
2020-12-26 14:47:15 +01:00
}