Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- object_annotation = {
- from: index,
- to: index+1,
- id: array_elem[0],
- label: {
- text : '+',
- style: {
- color: 'black'
- }
- },
- events:{
- click: function(e, index)
- {
- return function()
- {
- console.log(index);
- }(e, index);
- }
- },
- color: color
- };
Add Comment
Please, Sign In to add comment