Quantcast
Viewing all articles
Browse latest Browse all 9897

deleteSymbol question...

Assume we are trying to get rid of a dinamically created symbol when we click on it.

 

What's the difference among these three lines of code?

 

  1. sym.deleteSymbol();
  2. sym.getSymbolElement().deleteSymbol();
  3. sym.getSymbolElement().remove();

 

Do they all work? Do they do the same thing?


Viewing all articles
Browse latest Browse all 9897

Trending Articles