I am want to wrap some basic functions from the visjs timeline library
: http://visjs.org/examples/timeline/interaction/eventListeners.html
I just want to create a timeline. Passing in the data can be done using
simple json strings.
And then I also want to add a handler when an item is updated. This is done
using callback functions in javascript
items.on('update', function (event, properties) {
console.log(JSON.stringify(event) + " ; " +
JSON.stringify(properties));
});
Is there anywhere a tutorial available about the latest version of
JSInterop ? With some example where a basic UI javascript widget is
wrapped, with callbacks ?
I am not really getting things done with the basic documentation on the GWT
website. Note that I know nothing about JavaScript.
I managed to wrap this using JSNI. But really want to use JSInterop.
--
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 [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/google-web-toolkit.
For more options, visit https://groups.google.com/d/optout.