flex-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Carlos Rovira <carlosrov...@apache.org>
Subject [FlexJS] calling a method over an object that can't be declared as HTMLDialogElement
Date Thu, 19 Jan 2017 00:15:22 GMT

I have a <dialog> object, but as HTMLDialogElement is something new, I
don't have this API available so I think I only can have this kind of
declaration right?

private var dialog:HTMLElement; //HTMLDialogElement;

but now my problem is how to call the method "showModal()".

I try call. -> showModal.call(dialog)
and brackets dialog['showModal']()

but nothing works

Whats the way to do this in FlexJS?


Carlos Rovira

  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message