Finaly I get HTMLDialogElement compile, don't know why it didn't compile before...some code gremlin ;) Right, so I got it working :)...
... but still don't know how to call a function with "call" , "apply" or brackets "['fun“]()" can I do this in FlexJS? 2017-01-19 1:15 GMT+01:00 Carlos Rovira <[email protected]>: > Hi, > > 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? > > COMPILE::JS > 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? > > Thanks > > > -- > Carlos Rovira > http://about.me/carlosrovira > > -- Carlos Rovira http://about.me/carlosrovira
