Skip to content

5.18.17

Compare
Choose a tag to compare
@xiaoiver xiaoiver released this 26 Oct 08:39
· 40 commits to next since this release
6d82b64

Patch Changes

  • Updated dependencies [d2ed3d6]
    • @antv/g-camera-api@1.2.16

Add onframe callback in gotoLandmark params:

camera.gotoLandmark('reset', {
  duration: 1000,
  easing: 'ease-in',
  onfinish: () => {},
  onframe: (t) => {
    console.log(t); // [0, 1]
  }
});