Posts by Júlio Saldanha • 56 points
5 posts
-
0
votes1
answer74
viewsA: in Angular the service.ts is also transposed and executed in the browser even though it does not have an html attached to it?
html, css and javascript are executed in the browser. All code you write in the angular will be transferred to html, css and javascript and will be executed in the browser. Transpilation occurs only…
-
0
votes2
answers45
viewsA: Internal link problem using pure Javascript
Dude, I don’t understand your real problem. But the code you posted won’t work. 'Cause the error in that code is in those two lines const id = element.getAttribute('href'); return…
-
0
votes1
answer35
viewsA: How to unlock the fields according to what the user types?
Opa, enable is a enable() method to enable the field or disable() to disable this.form.get('campo2').enable() In addition, the form in the template must contain a [formGroup]="myFormulario" and…
-
1
votes0
answers61
viewsQ: Passing data with data property (Routes) and State (Navigate)
After a click on the button, I need to go to another route. And set the filter to return a certain data. I didn’t want to use queryParams, nor stop to not mess with the filter. I use the navigate…
angularasked Júlio Saldanha 56 -
2
votes2
answers131
viewsQ: Difference between the event (Submit) and (ngSubmit)
Well, I’ve seen some articles explaining that "ngSubmit ensures that the form is not sent when the handler code is released (which is the default sending behavior) and causes a real http posting…
angularasked Júlio Saldanha 56