Posts by Valter Neto • 326 points
11 posts
-
2
votes1
answer110
viewsA: Export Ionic Creator
Hello, if your project is Ionic 3 or higher replace your project’s src folder with the . zip folder ( from Creator ). As reported in step 2 of the documentation: Now go into the Newly created myapp…
-
0
votes1
answer55
viewsA: Use variable from one class to another
Hello, you can create an attribute called cards as in the example below //um novo atributo na sua classe cards = []; this.retorno.then(function(result){ let a = result[0].infos.inProgress; var cards…
-
0
votes1
answer123
viewsA: How to inspect an application in Angular?
Hello, use browser debugger. In Firefox or Chrome just press the F12 key that will open the console From a read on this link, where you explain about:…
angular-6answered Valter Neto 326 -
0
votes2
answers152
viewsA: Node with mongodb not starting application
Man, I got some suspicions: 1º - try to run this project from another folder: it can be something related to windows permissions or some firewall that is blocking the process... 2º - The version of…
-
0
votes2
answers130
viewsA: Why are you making a mistake when executing the code via Node?
Hello, This version of Node may not accept "Let", try using var to test. Something like this: module.exports = funciona () { ... var pais = 'Brasil' console.log(qualquer) }…
-
1
votes2
answers108
viewsA: Changing values of a table row by row
tries to create an id(dynamic or item id) for each Row, and do the calculation based on the id of the Row. For example pseudo-code: ... (parseInt($('idItem'))*parseInt(qtd) ... It’s not a light, but…
-
2
votes3
answers138
viewsA: How to store various information in JS properly?
Can be done with Objects, and create a function to return an object, as in the example below: const filaDeEspera = [] const addPessoa = ( _nome, _telefone, _senha ) => { return { nome: _nome,…
javascriptanswered Valter Neto 326 -
1
votes2
answers834
viewsA: How to send headers on all Ionic HTTP requests 3
Hello! I usually generate a Service to abstract HTTP methods: import { environment } from '../../../environments/environment'; import { Http, RequestOptions, RequestOptionsArgs, Response, Request,…
-
1
votes1
answer437
viewsA: Select using Enum
Hello, you can try to use this way: ... listaEditoria = EditoriaType; keys:any; constructor(){ this.keys = Object.keys( this.listaEditoria ).filter(Number) console.log( 'KEys', this.keys ) } and in…
-
1
votes2
answers288
viewsA: Get instance of connection
Hello, From what it seems, is that the instance of the Connection is not being exported, I have been looking at your connection file and made some changes, to try to resolve: var mongo =…
-
4
votes1
answer336
viewsA: Angular: persist get return in function/variable
Hello Try to do the following: listById(id: number): Book{ return this.http.get<Book>(`${url}/list/id=${id}`) } In this function, the library is probably being used Http of the Angular itself,…