Guest User

Untitled

a guest
Jun 19th, 2018
77
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1.            object_annotation = {
  2.                         from: index,
  3.                         to: index+1,
  4.                         id: array_elem[0],
  5.                         label: {
  6.                           text : '+',
  7.                           style: {
  8.                             color: 'black'
  9.                             }
  10.                         },
  11.                         events:{
  12.                             click: function(e, index)
  13.                             {
  14.                                 return function()
  15.                                 {
  16.                                     console.log(index);
  17.                                 }(e, index);
  18.                             }
  19.                         },
  20.                         color: color
  21.                     };
Add Comment
Please, Sign In to add comment