Questions tagged as 'angular'

0
answers

How to obtain data from the customer side with sockets?

Work with sockets now, as follows, I have a gps that is pointing to my server, at the moment I had to make my ip public and assigned a port where the data would arrive: Now on the server side with nodejs I have this: var express = require("exp...
asked by 22.08.2018 / 01:03
4
answers

How to place a gradient color on an image

I am adding a css style to a sidebar generated by W3.CSS, however, when doing the code that I show more to low, all the sidebar and its content becomes more opaque and at the end of what does not happen what I want, is that the background image...
asked by 22.08.2018 / 13:54
1
answer

My custom validator does not work, Angular 6, Reactive Forms

I am trying to do a custom validation for my form. I have a service that checks in my database if the reference is valid. Once the reference has been checked, I assign a boolean value to a variable, depending on that value I would like to val...
asked by 06.08.2018 / 09:09
1
answer

How can I cancel an ngOnDestoy () event in angular 2+?

How can I show a confirmation message when I change the component in Angular 2 . Example: If I have a form and full information and suddenly press a "Back" button (that sends me to another component) to show a message or alert that says...
asked by 03.09.2018 / 16:05
1
answer

HttpMediaTypeNotSupportedException

I was sending an excell through Angular2 and I was receiving the SpringBoot, the problem is when in addition to the Excell I want to send a 2nd object. When I send the second object, I miss an error. Angular Code where I declare the class and...
asked by 17.07.2018 / 13:15
1
answer

Use SweetAlert2 to alter a class variable

I have a class that has a Boolean variable. This variable defines if a user receives a notification or not, but I want to use SweetAlert 2 to show the user an alert asking if he wants to receive the notification or not. The problem is that th...
asked by 18.07.2018 / 04:32
1
answer

Spring and Angular 4 - Generate Blob or Base64 Files

Sorry for the inconvenience, I hope you can help me with my question! I'm developing on a platform that in front has Angular 4 and the Back is Spring , In the front I use a npm that is called pdf make...
asked by 09.07.2018 / 17:17
0
answers

npm WARN deprecated [email protected]: 1.2.0 should have been a major version bump

   npm WARN deprecated [email protected]: 1.2.0 should have been a   major version bump       npm WARN optional SKIPPING OPTIONAL DEPENDENCY: [email protected]   (node_modules \ fsevents):       npm WARN notsup SKIPPING OPTIONAL DEPENDENCY:...
asked by 23.06.2018 / 17:35
2
answers

Select in Angular 6 - take data from one doc firestore and pass it to another doc

I'm starting in Angular and Firebase and I found an issue: How can I make a select to send the selected value on one side and the id of the value to another doc. Basically I have 2 documents (tables) of firestore, in one I have the products and...
asked by 24.06.2018 / 04:51
2
answers

How to validate in a reactive form of angular data entry so that they are only numbers?

I have a reactive form in Angular 5.2.0 . Configure the validations; nid, name, email, address. All work well, they show the right message in each case. But in the case of a (N.I.D.), which I ask accept only numbers, the error message appears w...
asked by 09.08.2018 / 15:39