gwtd3 / gwt-d3

A GWT wrapper library around the d3.js library
Other
131 stars 53 forks source link

D3.event: Exposing sourceEvent & timeStamp #112

Open vasvir opened 9 years ago

vasvir commented 9 years ago

Hi,

I have some wip/premature patches (needs some dusting off) in order to expose from D3.event the following attributes -sourceEvent -timeStamp

I am not sure what is required to clean them up for inclusion but if there is any interest on this I am ok to try.

Vassilis

anthonime commented 9 years ago

Hi Vassilis,

I just committed D3Event.sourceEvent and changed signature of D3.event to allow transparent type-casting to D3Event.

vasvir commented 9 years ago

Thanks for that. It is very convenient now.

I just issued #122 that exposes d3.event.timeStamp.

I hope it will be merged soon since it is new functionality and does not conflict with anything that already exists.

Thanks