Posts by Ricardo • 67 points
4 posts
-
0
votes1
answer89
viewsQ: How to execute one at a time items from a sequence array using Promise - Javascript
I have an array where I want to execute each item, but one can only start after finishing the previous one. The example below is printing in sequence 2000,5000,10000 which makes me understand that…
-
0
votes1
answer47
viewsQ: How to know if the code is Javascript or some derivation of it?
I have a code that follows the structure below. It is in a file ". js". The doubts is: Is it pure javascript code or some derivation of it? If not, how do I know? const uuidv1 = require('uuid/v1');…
javascriptasked Ricardo 67 -
2
votes1
answer223
viewsQ: Angularjs - Directives: Element or Attribute
I’m new to Angularjs and I’m looking at the Directives part, and I’m seeing that there is a restrict element and a restrict attribute. I understood what each one does, but it was not clear when I…
-
3
votes1
answer8263
viewsQ: Angularjs - When should I use ng-show and when should I use ng-Hide?
I am seeing a tutorial, and at a certain point it presents the code saying that the most correct is to use ng-Hide in the DIV tag and further down in the BUTTON tag the same used ng-show. When…