C
C
colddave2016-11-18 01:30:42
JavaScript
colddave, 2016-11-18 01:30:42

Why is content added to the balloon every time a label is clicked?

Why is content added to the balloon every time a label is clicked?
How to make the balloon always be on the right side of the label?
JSFiddle

Answer the question

In order to leave comments, you need to log in

1 answer(s)
F
freeExec, 2016-11-18
@colddave

So you are constantly adding, not replacing text in onAddToParent. Moreover, when the balloon closes, it clearly signals the absence of processing the onRemoveFromParent event, where, with this approach, it is worth deleting the content.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question