When one setTimeout is not enough in JavaScript

Member

vivien_maggio

by vivien_maggio , in category: JavaScript , a month ago

When one setTimeout is not enough in JavaScriptšŸ˜

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
setTimeout(function() {

  graph.removeLink('3_3', '2_1')
  keepNodesOnTop()

}, nextval())

setTimeout(function() {

  graph.removeLink('5_2', '9_1')
  keepNodesOnTop()

}, nextval())

setTimeout(function() {

  graph.removeLink('2_2', '4_1')
  keepNodesOnTop()

}, nextval())
Facebook Twitter LinkedIn Telegram Whatsapp Pocket

no answers