Skip to main content
The 2024 Developer Survey results are live! See the results

Questions tagged [angular7]

Questions about Angular version 7, the web framework from Google. Use this tag for Angular questions which are specific to only version 7. Use tag Angular for any Angular questions which are not specific to an individual version.

2,059 questions with no upvoted or accepted answers
14 votes
1 answer
4k views

Angular/Typescript - Wildcard module declaration

I'm trying to implement wildcard modules and i don't seem to get it work: Right now i have the following code which works: typings.d.ts declare module "*.json" { const value: any; export ...
luiscla27's user avatar
  • 6,244
9 votes
0 answers
966 views

Generate different js bundles for each component using @angular/elements

I have a huge Angular application where a couple of components are exported as @angular/elements. These components (although they still use shared services and components) are used in a different ...
Christian Vincenzo Traina's user avatar
9 votes
1 answer
4k views

How to use scrollPositionRestoration in RouterModule.forchild(); ? How to make the page always scroll at top after page navigation?

scrollPositionRestoration : 'top' is not working for RouterModule.forchild()? Is there any solution in angular 7 to make sure that page always scroll top after navigation?
Santhosh SD Villivakam's user avatar
8 votes
0 answers
4k views

How to integrate Stripe payment in Ionic 4

I am new in ionic framework and trying to integrate stripe in my app. I did some research and found only this https://ionicframework.com/docs/native/stripe. It doesn't explain well enough. How can i ...
Muel Sam's user avatar
  • 125
8 votes
1 answer
3k views

Angular 7 Route animations not working in nested router-outlet

I'm currently experimenting with Angular7 route transition animations and have the following problem: In my app there is a entry-component which has its own routing module and <router-outlet>. ...
Mick's user avatar
  • 113
7 votes
0 answers
1k views

Drop items in nested droplists (Angular 7 Material CDK)

I've got a problem with the Drag and Drop Feature of the Angular Material CDK. I'm trying to use nested DropLists which can be nested arbitrary deep. It is not possible to drag items into the third ...
Timo's user avatar
  • 108
7 votes
0 answers
1k views

How to use Captured phase of @HostListener

I want to use captured phase of @HostListener. @HostListener('document:keydown.escape', ['$event']) onKeydownHandler(event: KeyboardEvent) { console.log("key pressed"); } Above code use ...
Sandeep's user avatar
  • 1,479
7 votes
1 answer
4k views

Angular 7 TestBed.overrideProvider does not work for ActivateRoute

I'm using Angular 7 w/ Jest and am mocking out providers to components. There are lots of times where I need to change what is injected into the components after the TestBed is compiled, and I've had ...
user1543276's user avatar
6 votes
0 answers
2k views

Need to show previous and next month days in the current month calendar with Angular Material Datepicker

I am using Angular 7 and material library to create form controls. I am struggling to show previous and next month days in the current month calendar. Means I need full week calendar. And how can I ...
Shiwangi Gaur's user avatar
6 votes
0 answers
2k views

Merge 2 pdf files & download on button click in angular 4+

I'm using "jspdf": "^1.5.3" package in my "@angular/cli": "~7.0.7" project, I have created simple file using pdf library as below, now the requirement is append http://www.africau.edu/images/default/...
ASD's user avatar
  • 85
6 votes
0 answers
6k views

Getting net::ERR_HTTP2_PROTOCOL_ERROR in Angular 7 App

I am getting intermittently "net::ERR_HTTP2_PROTOCOL_ERROR" for one of the API call in Angular 7 application, I am using ngrx also. All other API calls are working fine with the same configurations/...
Joshi's user avatar
  • 121
6 votes
0 answers
99 views

Resetting FormGroup with value arg properly resets FormGroup, but clears HTML inputs associated with FormControls

I have a form using angular 7. I'm having an issue with my FormGroup, and HTML inputs associated with that FormGroup's FormControls falling out of sync after resetting. My inputs are cleared, but my ...
wilbur's user avatar
  • 393
6 votes
0 answers
820 views

Error MSB3073 The command "ng build --aot" exited with code 9009

I created Angular7 application using VS2017 by following this documentation. Whenever I build the application in VS2017 it failed, but I used ng build command in command prompt then the application ...
Pradeep's user avatar
  • 5,409
6 votes
0 answers
737 views

Laravel SocketIO is not executing callback functions

I have created a Laravel project which has a SocketIO server using Laravel-Ratchet. <?php namespace App\Http\Listeners; use Ratchet\ConnectionInterface; use Ratchet\MessageComponentInterface; ...
Jeremy's user avatar
  • 3,769
6 votes
4 answers
8k views

Angular 7: How to access query string in URL from an iframe?

The app under development is hosted within an iframe. I have the following routes configured in my app: const routes: Routes = [ { path: '', pathMatch: 'full', redirectTo: 'list' ...
user2439903's user avatar
  • 1,297

15 30 50 per page
1
2 3 4 5
138