我正在捕获一个用于在画布上放大/缩小的MouseWheelEvent。在Firefox、Chrome和IE下的Windows7上,使用实际的鼠标滚轮可以很好地工作,但在Mac OS X上,使用触控板会导致缩放发生得太快。
我见过其他解决方案使用原生JavaScript来标准化滚轮增量,这些解决方案涉及从鼠标滚轮事件中检索到的细节,但是有没有办法使用java和GWT来实现这一点,因为它只提供对滚轮增量的访问?
高图表有双击事件,像?
plotOptions: {
series: {
cursor: 'pointer',
marker: {
radius: 2
},
point: {
events: {
// like this any event?If not, any alternative
dbclick: function () {
$('.high
我有一个看起来像这样的ItemsControl:
<ItemsControl ItemsSource="{Binding}" PreviewMouseWheel="ItemsControl_PreviewMouseWheel" >
<ItemsControl.ItemTemplate>
<DataTemplate>
<Grid Margin="0,4"><!--Margin to keep the items from being smashed