[Pas2js] TCustomWebWidget(DefaultParentElement)

Michael Van Canneyt michael at freepascal.org
Fri Nov 27 09:48:37 CET 2020



On Thu, 26 Nov 2020, heliosroots wrote:

> Maybe you're not using it correctly. When defining "Default ParentElement"
> for a "Widget" ... when trying to destroy this "Widget", it loses the
> reference but it remains stuck "DOM" ....

Please explain ?

Maybe the use is not clear:

This is used only for special widgets, such as the viewport/page widgets.
They should always be existing DOM elements that must not be freed ?


Michael.



More information about the Pas2js mailing list