Skip to main content

All Questions

1 vote
0 answers
556 views

ng add angular material results in peer dependency error

I'm working on an electron app that uses angular 13 and angular materials. I now want to use this boiler plate code (notice branch number) so I cloned this branch: https://github.com/maximegris/...
Billy's user avatar
  • 379
2 votes
1 answer
384 views

Electron-Angular open client-side dialog on ipc event

I have a back-end notification that pops up a client-side angular-material dialog component. Sometimes, but not always, the dialog does not completely instantiate. The constructor of the component is ...
Nate's user avatar
  • 2,205
0 votes
1 answer
962 views

Is there a way to create a modeless dialog in an Angular/Electron app?

Is there a way to create a modeless dialog in an Angular/Electron app? I'm looking at the samples below, and they're all modal: https://material.angular.io/components/dialog/overview I need to be ...
Stout's user avatar
  • 513
17 votes
1 answer
8k views

ngOnInit not firing when opening dialog

When opening the dialog, ngOnInit is not being called. The only way I can get it to fire is when I resize the window. I tried using detectChanges and zone.run() but it did not change anything. Here ...
TheBird956's user avatar
1 vote
1 answer
2k views

How to remove tooltip from [mat-icon] button in an Electron application?

I need to remove the tooltip from the button. I'm using Angular/Electron for a desktop application. I have the following code in the .html file: <button class="close-button" (click)='closeDialog(...
MrProgrammer's user avatar
0 votes
1 answer
561 views

Angular 5, Angular Material and Electron

I've recently started a project with Angular 5 and Electron. I have it running fine without using angular material, but once I tried using angular material (following all the instructions online) it ...
Mopork's user avatar
  • 13
2 votes
1 answer
274 views

Angular 4 + Material - Unexpected directive 'MdHorizontalStepper

I'm trying to use angular materials horizontal stepper in my app. I found it here https://material.angular.io/components/stepper/overview. But when I import it I get this error. ERROR in Error: ...
Kay's user avatar
  • 349
1 vote
0 answers
381 views

Angular 2 material not working with electron

index.html <!DOCTYPE html> <html lang="en" dir="ltr"> <head> <meta charset="UTF-8"> <title>Desktop App</title> <meta name="viewport" content="width=...
Zain Abbas's user avatar