ngx-electron icon indicating copy to clipboard operation
ngx-electron copied to clipboard

How to pass dialog properties by using variable

Open ThummalaJanardhanReddy opened this issue 5 years ago • 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 avatar Jan 29 '20 12:01 ThummalaJanardhanReddy

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

bampakoa avatar Nov 29 '20 12:11 bampakoa