[Studio] onItemDelete for the Stock JS component

Suggestions & ideas / Suggestions & idées
Locked
User avatar
pikiou
Posts: 389
Joined: 03 October 2011, 05:36

[Studio] onItemDelete for the Stock JS component

Post by pikiou »

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.
Locked

Return to “Suggestions”