Saturday, August 10, 2019

Re: elemental2: Document.createEvent ?

execCommand is not yet part of elemental2. There is no reason why it should not be other than the externs need cleaning up. It is on my list of things to do some time but we don't use it so I haven't got off my kaboose to do the work. The issue that is tracking this (among other things) is https://github.com/google/elemental2/issues/86

Until that is completed you will have to use jsinterop to do it yourself.

On Sat, Aug 10, 2019 at 12:54 AM Vassilis Virvilis <vasvir2@gmail.com> wrote:
What about Document.execCommand() ?


On Fri, Aug 9, 2019 at 5:20 PM Vassilis Virvilis <vasvir2@gmail.com> wrote:
>
> Hi,
>
> I am looking for  Document.createEvent and I can see that createEvent
> is defined in DocumentEvent which is an interface but Document itself
> does not inherit/implement this interface.
>
> I suppose I can cast Document it to DocumentEvent with Js.cast() but
> that's ugly.
>
> So what's going on?
>
> I am using elemental2 2.25 as published by Peter Donald.
>
> --
> Vassilis Virvilis



--
Vassilis Virvilis

--
You received this message because you are subscribed to the Google Groups "GWT Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to google-web-toolkit+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/google-web-toolkit/CAKbOjEx4%2B3TZuMJf2%3DBiCW6d57o-OLoMiBjqjSi%3DMjPny%2B%2B_ug%40mail.gmail.com.


--
Cheers,

Peter Donald

--
You received this message because you are subscribed to the Google Groups "GWT Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to google-web-toolkit+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/google-web-toolkit/CACiKNc4frwwFenqaAGPN3nBxgsYHJ_gO_86QbOPQpBT02eySsg%40mail.gmail.com.

No comments:

Post a Comment