ThorstenHans/ngx-electron

How to pass dialog properties by using variable

Opened this issue · 1 comments

How to pass properties of showOpenDialog({properties:['openFile'], filters:[]}) by using variable.

let command = 'openFile';

showOpenDialog({properties:[this.command], filters:[]});

I'm getting error with above approach, Can you tell me how to achieve that ?

@ThummalaJanardhanReddy could you please give some more details on the method showOpenDialog that you refer to?