Posts by Renato Carauta Ribeiro • 130 points
12 posts
-
1
votes1
answer106
viewsQ: Spinner Angular material does not work in synchronous calls
I have a synchronous call new SyncRequestClient().post<HistoricoModel,Response>(solrRequest, request); and I need a spinner created for that call. Appear before the call is made and disappear…
-
1
votes0
answers745
viewsQ: Demoiselle Signer error when signing Crlrepositoryexception certificate
I am developing a project using the Demoiselle Signer framework Demoiselle Signer. However I am unable to sign the document with the generated certificate. It always generates the following error:…
-
0
votes1
answer130
viewsA: Migration from material angular 5 to material angular 6
The solution found for this problem is as follows. In the app.module.ts file within providers the following code should be placed: { provide: MATERIAL_SANITY_CHECKS, useValue: false } This command…
-
0
votes1
answer130
viewsQ: Migration from material angular 5 to material angular 6
I am migrating from angular 5 to 6 and material 5 to 6. The problem is that the second error occurs when climbing the application. TypeError: Cannot read property 'appendChild' of null at…
-
1
votes1
answer446
viewsA: Angular-cli ng generate library does not work
The solution to the problem described above is found on this website: Angular-cli library. This site describes step by step how to transform a functional library into angular 6 with angular-cli. 1 -…
-
1
votes1
answer446
viewsQ: Angular-cli ng generate library does not work
I have a design in version 5 of the angular, which generates a library using the rollup and works properly. But I’m on the migration from version 5 to version 6 of the angular and wanted to use the…
-
1
votes1
answer694
viewsA: Using Input or declaring in metadata?
According to the style guide Angular is advised to use @Input. The use of @Input may facilitate in some cases. According to this post: angular use input says that in some cases it may not be…
-
4
votes1
answer334
viewsQ: How to disable XHR messages finished loading in production
I have a system developed in the Angular language in version 4. The system that generates build of the application in production is the webpack. This being used as the basis the following tarter:…
-
1
votes1
answer467
viewsQ: Generate multiple . js files with webpack
I need to create several files. js one for each file . ts, but I don’t know how to configure webpack 2 to do this procedure. var path = require('path'); var ExtractTextPlugin =…
-
0
votes1
answer766
viewsA: Dynamic routes with angular 2
I found the answer and for those with the same problem follow the code that generates the solution, where you can generate dynamic menu from the json file. First you need to create a route class:…
-
1
votes2
answers739
viewsA: How to ensure that a ngOnInit-dependent function is executed after it?
In this case, I have had a similar problem with the get method, I used a Return so the function should return what means makes it wait for the answer before finishing the method ngOnInit() { //…
-
0
votes1
answer766
viewsQ: Dynamic routes with angular 2
I am developing an angular2 application and wanted to create dynamic routes, which would be generated from a .json.file. Searching I found the following code: import { Routes ,RouterModule } from…