UniEcCanvas.wxml 701 B

1
  1. <block wx:if="{{isUseNewCanvas}}"><canvas class="ec-canvas" type="2d" canvas-id="{{canvasId}}" data-event-opts="{{[['init',[['init',['$event']]]],['touchstart',[['touchStart',['$event']]]],['touchmove',[['touchMove',['$event']]]],['touchend',[['touchEnd',['$event']]]]]}}" bindinit="__e" bindtouchstart="__e" bindtouchmove="__e" bindtouchend="__e"></canvas></block><block wx:else><canvas class="ec-canvas" canvas-id="{{canvasId}}" data-event-opts="{{[['init',[['init',['$event']]]],['touchstart',[['touchStart',['$event']]]],['touchmove',[['touchMove',['$event']]]],['touchend',[['touchEnd',['$event']]]]]}}" bindinit="__e" bindtouchstart="__e" bindtouchmove="__e" bindtouchend="__e"></canvas></block>