Use View.Hidden to remove from browser, then View.Remove to remove from
DOM. When View finalizes on the Ada side it will also tell the browser to
reclaim the elements memory as well.

David Botton


On Mon, Feb 23, 2015 at 8:22 PM, Olivier Henley <[email protected]>
wrote:

> Hi,
>
> I want to dynamically create a widget that has a close button. When
> pressed, the widget should remove itself from user data and from the DOM.
>
> I checked every tutorial and demo and can't find such scenario. Right now
> I am able to generate widgets dynamically but I am having a hard time
> figuring how to do the remove part.
>
> If someone could give me hints on a proper solution, it would be greatly
> appreciated.
>
> Thx!
>
>
> ------------------------------------------------------------------------------
> Dive into the World of Parallel Programming The Go Parallel Website,
> sponsored
> by Intel and developed in partnership with Slashdot Media, is your hub for
> all
> things parallel software development, from weekly thought leadership blogs
> to
> news, videos, case studies, tutorials and more. Take a look and join the
> conversation now. http://goparallel.sourceforge.net/
> _______________________________________________
> Gnoga-list mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/gnoga-list
>
>
------------------------------------------------------------------------------
Dive into the World of Parallel Programming The Go Parallel Website, sponsored
by Intel and developed in partnership with Slashdot Media, is your hub for all
things parallel software development, from weekly thought leadership blogs to
news, videos, case studies, tutorials and more. Take a look and join the 
conversation now. http://goparallel.sourceforge.net/
_______________________________________________
Gnoga-list mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/gnoga-list

Reply via email to