[Studio] onItemDelete for the Stock JS component
Posted: 16 July 2013, 07:39
The onItemCreate property of stocks is great and I've made use of it multiple times already!
I could make many more uses of it if I could also get warned about item deletion. Here are two scenarios for such warning use:
- deletion of tooltips or such objects created when onItemCreate was called
- centering of a stock depending on the number of elements it contains
Could it be added ?
So far I dojo.connect to removeFromStock and removeAll but it's bad practice.
I could make many more uses of it if I could also get warned about item deletion. Here are two scenarios for such warning use:
- deletion of tooltips or such objects created when onItemCreate was called
- centering of a stock depending on the number of elements it contains
Could it be added ?
So far I dojo.connect to removeFromStock and removeAll but it's bad practice.