Posts by Anderson Koester • 91 points
7 posts
-
1
votes1
answer115
viewsA: Difficulty implementing Vlibras using Javascript
Fockink, Running some tests here, the script is not being generated at the right time for Vlibras to identify the DOM and execute the plugin action. I modified the event being monitored for…
-
3
votes1
answer43
viewsA: Open script in the same window
To open in the same window the command would be: <form> <input name="url" type="text" id="cpf"> <input type="button" id="btn" value="Acessar" onClick="javascript: window.location.href…
javascriptanswered Anderson Koester 91 -
0
votes3
answers321
viewsA: Function to calculate the distance between two points
Hello, you can improve the code by reusing the calculation function. And NAN occurs because the value reported for Math.sqrt is negative, using Math.abs can be removed the signal from the number,…
javascriptanswered Anderson Koester 91 -
0
votes1
answer66
viewsA: Could you explain to me the construction part please, I don’t understand
analyzing the builder below, what happens: constructor(_data, _quantidade, _valor) { Object.assign(this, { _quantidade, _valor }); this._data = new Date(_data.getTime()) Object.freeze(this); } 3…
javascriptanswered Anderson Koester 91 -
0
votes2
answers226
viewsA: How to compare instances of Localtime?
Use Compareto. As in the example: brightness_4 // Java program to demonstrate // Localtime.compareTo() method java time import..*; public class GFG { public static void main(String[] args) { //…
-
1
votes1
answer80
viewsA: Error using Mattabledatabase in Angular
Hello, it seems to me that you are assigning the function variablesSource and clientsSee two types of data: no request is assigning an observable, and no ngInit to a Mattabledatasource. Try to do it…
angularanswered Anderson Koester 91 -
1
votes1
answer151
viewsA: Error testing Cielo sandbox
The API method is GET. Just switch Postman to GET instead of POST…