Posts by fernanda • 75 points
7 posts
-
0
votes1
answer24
viewsQ: convert pdf files with pdfjs
I have a component to send files to the back end, but I need these files to be transformed into pdf. Thinking about it, I am using Pdfjs, passing the output element to it, but I noticed that it is…
-
0
votes1
answer35
viewsQ: How to unlock the fields according to what the user types?
I’m making a form with 3 fields, where the first fields is unlocked and the others blocked. They unlock according to the first field, for example: User typed in the first field -> unlocks the…
-
0
votes1
answer19
viewsQ: How to search by parameters
I am trying to do a search for parameters, where the user informs 3 parameters and searches this, follows as I am trying to do FindByRdo(numero: number, ano: number, objeto: Objeto) { return…
-
3
votes1
answer835
viewsQ: How to add days to a date with Moment.js?
I’m trying to calculate the deadline of my site in days, IE, I put "14 days" and it turns into 00/00/0000. I’m doing it this way, but she’s taking the full date and turning it into days, I want to…
-
-2
votes1
answer40
viewsA: How to inhibit the effect of logo enhancement on mobile
it would be nice if you create a div for the desktop logo and another for the mobile logo, this will keep your code organized and solve your ploblema. each one will receive a size, in the case of…
-
-1
votes1
answer279
viewsQ: How to calculate the current and future date and receive the difference in days
I’m using Moment.js to do date calculations, thinking about it I did this function below to make the current date calculation with the date of birth: onCalcularData(date: any): number { return…
-
0
votes1
answer48
viewsQ: Transform getElementsByClassName into elementRef
I made a code and would like to transform my getElementsByClassName and elementRef, below show how I did and how I tried to adjust tabContent = this.tabContent.nativeElement.innerHTML; for (i = 0; i…