mirror of
https://github.com/Fabio286/antares.git
synced 2025-06-05 21:59:22 +02:00
feat: views deletion
This commit is contained in:
12
src/renderer/ipc-api/Views.js
Normal file
12
src/renderer/ipc-api/Views.js
Normal file
@ -0,0 +1,12 @@
|
||||
'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);
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user