Posts by Elisangela Carla DE Souza • 318 points
15 posts
-
0
votes1
answer675
viewsQ: read data from a url and download
hello, need to download various urls, run the code below within a for, but only works for the last url. var anchor = document.createElement('a'); anchor.href =…
-
0
votes0
answers417
viewsQ: change a property of an object array without looping
Good morning, I have an array of objects with several properties and one of them is the data property that I would like to convert. But I wonder if there’s any way to do it without using a loop. var…
-
1
votes1
answer599
viewsQ: transform string into javascript array
Good afternoon, have the following string [{"programa":"teste"},{"programa":"Aprender"},{"programa":"outro teste","indice":"0;1;0"}][{"programa":"Programando…
-
1
votes4
answers1377
viewsQ: filter object by javascript array
have the following object: alunos : { nome: 'teste', idade: '15', turma: 'turma 1'}, { nome: 'teste2', idade: '16', turma: 'turma 2'}, { nome: 'teste3', idade: '12', turma: 'turma 2'}, { nome:…
javascriptasked Elisangela Carla DE Souza 318 -
0
votes0
answers323
viewsQ: get in the way of the briefcase
I need to record the path of a directory on the system, when the user clicks on a button open a window and in that window he selects the folder he wants to store the information. I tried using input…
-
1
votes1
answer69
viewsA: Detect id of an DOM element?
In Vue.js if you use v-for you can use the index property.
-
9
votes2
answers18748
viewsQ: convert json to javascript array
How do I convert the following json in array: { '0': '{ "codBanco":"085","banco":"cecred","cedente":"Aluno…
-
0
votes1
answer154
viewsQ: Convert Response date from HTML to PDF
My response.data is returned a billet in HTML format, I want to convert it to PDF. How do I? Below a part of the code: imprimirboleto: function () { axios({ method: 'get', url: '/server/boleto',…
-
0
votes3
answers1314
viewsA: access a json object as if it were an array
It worked the following way : Frontend the object was like this: var dadosbanco = '{"banco":[' + '{"NrSequenciaDoc":"7777","TipoOcorrencia":"1" ,"NossoNumero" : "66688", "NumeroDocumento" :"6987",…
-
0
votes3
answers1314
viewsQ: access a json object as if it were an array
I need to access a json object as if it were an array, Example I have the following object on the client side: ´ remessa : function (){ var arr2 = [{ 'NrSequenciaDoc' : '7777', 'TipoOcorrencia' :…
-
0
votes1
answer2831
viewsQ: break line Node.js using Fs
I need to print the variable result with line break in a txt file, I have the following code : var Resultado = formatters.addTrailingZeros(req.query.Nrbanco, 3) + '0000' + '0' +…
node.jsasked Elisangela Carla DE Souza 318 -
4
votes1
answer10235
viewsQ: Write file . txt Node.js
I need to generate a txt file with some information and save it to C: How can I do this using Node.js?
-
0
votes1
answer1120
viewsQ: How to filter one array by another?
I’m trying to use the filter with Vue, but I’m having trouble. Code: list() { var self=this const list = this.programas; if (_.isEmpty(this.filter)) { return list; } return…
vue.jsasked Elisangela Carla DE Souza 318 -
0
votes1
answer211
viewsQ: use ref in a list without v-for Vue.js
Hello, I have a simple list in which I do not use v-for. I wonder if it is possible to identify the list item through the #ref in Vue.js; I usually identify my components with name and Id, but I am…
vue.jsasked Elisangela Carla DE Souza 318 -
2
votes1
answer1384
viewsQ: create a global role in Vue
Good afternoon, I’m a beginner in both javascript and Vue, and I’m having a hard time creating a global role in Vue. Could someone give me an example? Thank you