1. #1
    Sencha User
    Join Date
    Jan 2012
    Posts
    3
    Vote Rating
    0
    cormac.ecs is on a distinguished road

      0  

    Default Unanswered: How to dynamically remove draggable element in the Drag and Drop exampldrop listener?

    Unanswered: How to dynamically remove draggable element in the Drag and Drop exampldrop listener?


    I've been experimenting with Sencha Touch's Drag and Drop functionality (http://dev.sencha.com/deploy/touch/examples/dragdrop/), and although I've searched both official documentations and online sources, it isn't clear how a dropped draggable element can be dynamically removed from the screen (and from the memory):
    listeners: { drop: function(droppable, draggable, e) { // how to remove 'draggable' that was just dropped? // this.remove(draggable, true); <-- doesn't work }}
    Does anyone have any ideas?

  2. #2
    Sencha User
    Join Date
    Jan 2012
    Posts
    3
    Vote Rating
    0
    cormac.ecs is on a distinguished road

      0  

    Default


    Ah, I think the answer is:


    Ext.destroy(draggable);


    Can anyone confirm if this is the "best" way to do so?

Turkiyenin en sevilen filmlerinin yer aldigi xnxx internet sitemiz olan ve porn sex tarzi bir site olan mobil porno izle sitemiz gercekten dillere destan bir durumda herkesin sevdigi bir site olarak tarihe gececege benziyor. Sitenin en belirgin ozelliklerinden birisi de Turkiyede gercekten kaliteli ve muntazam, duzenli porno izle siteleri olmamasidir. Bu yuzden iste. Ayrica en net goruntu kalitesine sahip adresinde yayinlanmaktadir. Mesela diğer sitelerimizden bahsedecek olursak, en iyi hd porno video arşivine sahip bir siteyiz. "The Best anal porn videos and slut anus, big asses movies set..." hd porno faketaxi