Skip to main content

All Questions

Tagged with
2 votes
0 answers
1k views

How to fix the electron app window size in different display resolution

My laptop resolution: 1920 x 1080 1st monitor: 3840 x 1260 2nd monitor: 2560 x 1440 I created an login app in electron. I set the size for the app In index.html body { width: 453px; height: 518px; ...
Ah Tan's user avatar
  • 59
1 vote
1 answer
721 views

How to load multiple preload.js files in Electron

How to export preload1, preload2, preload3 and introduce them into index? index.ts const test1 = require("./preload1") const test2 = require("./preload2") const test3 = require(&...
Aitsuki Nakuru's user avatar
-1 votes
1 answer
105 views

require('child_process'); give error Electron

I've been smashing my head on this for the last couple days. I keep getting this error but don't know how to fix it. All the fixes I've found online don't work. And yes it is compiling from TS to JS. ...
BowersIndustry's user avatar
4 votes
1 answer
6k views

Tauri Not allowed to load local resource

I've been using electron for GUI interface development, recently I came across Tauri as electron alternative and coming to realize that the same code works on electron but not Tauri where: <video ...
V Sing's user avatar
  • 41
1 vote
1 answer
446 views

Show text field (not input field) as type password in Angular

I am using Angular 8 for my Angular-Electron application. I have a field as API-Key stored in a tabular format which is quite sensitive and needs to be shown to user on user's account page. The ...
hd3adcode's user avatar
  • 394
0 votes
1 answer
1k views

How can I create a live-updating bound text input in Angular?

I am creating a native app with angular and electron, and right now I am trying to get the user to chose a path for creating a folder. I have two separate text boxes, one for the name of the folder ...
Beckett O'Brien's user avatar
0 votes
3 answers
3k views

How can I set focus on an html control in electron framework?

I am trying to set focus on a control in Electron when the initial BrowserWindow loads. I know there are alternative ways to do this through jQuery, JavaScript, etc, but is there something specific ...
Neha Thakur's user avatar
0 votes
1 answer
479 views

MouseLeave fires on child Elements in Electron

I am handling mouse hover events using the following HTML template and script. My app is written using AngularJS and hosted in Electron. HTML: <div id="controlArea" (mouseenter) = "...
TylerM2320's user avatar
2 votes
1 answer
251 views

Angular2 rc5 and Electron Error - Cannot resolve component using

I learning how to use angular2 with electron.Currently i am using the the latest angular rc5 and the latest version of electron.I decided to use the official angular tutorial (Tour of heroes). I had ...
scroobius's user avatar
  • 702
0 votes
2 answers
457 views

Move file from src to dest using HTML FIleSystem API

This is a very simple question, but is giving me a lot of trouble. I want to move a file from origin to destination in my local file system. I'm using HTML5 FileSystem API. This is my code: // Note:...
Abel's user avatar
  • 355