Skip to content

Commit

Permalink
WIP: feat/支持 Canvas Web 异步版本 (#313)
Browse files Browse the repository at this point in the history
* feat: 支持 Canvas Web 异步版本

* fix:修复多次draw时渐变颜色关联不上callId问题 (#314)

* chore: 修复ci (#315)

* chore(release): release

* chore: 修复ci

---------

Co-authored-by: xuying.xu <xuying.xu@alibaba-inc.com>

* chore: 修复build失败 (#316)

* chore(release): release

* chore: 修复build失败

---------

Co-authored-by: xuying.xu <xuying.xu@alibaba-inc.com>

* feat: offscreenCanvas代替setTimeout (#317)

* chore(release): release

* chore: 修复build失败

* feat: offscreenCanvas代替setTimeout

---------

Co-authored-by: xuying.xu <xuying.xu@alibaba-inc.com>

---------

Co-authored-by: xiaowoxiaowo <awlzluggeoo@sina.cn>
Co-authored-by: xuying <33517362+tangying1027@users.noreply.github.com>
Co-authored-by: xuying.xu <xuying.xu@alibaba-inc.com>
  • Loading branch information
4 people authored Feb 24, 2025
1 parent de6c34d commit 16bef46
Show file tree
Hide file tree
Showing 9 changed files with 661 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ jobs:

strategy:
matrix:
node_version: ['18', '19']
node_version: ['18']

# Steps represent a sequence of tasks that will be executed as part of the job
steps:
Expand Down
3 changes: 3 additions & 0 deletions packages/f-my/examples/test/pages/index/index.axml
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
<view class="container">
<view>native</view>
<f-canvas onRender="onRenderChart" data="{{data}}"></f-canvas>
<view>web</view>
<f-canvas-web onRender="onRenderChart" data="{{data}}"></f-canvas-web>
</view>
3 changes: 2 additions & 1 deletion packages/f-my/examples/test/pages/index/index.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
{
"usingComponents": {
"f-canvas": "@antv/f-my"
"f-canvas": "@antv/f-my",
"f-canvas-web": "@antv/f-my/lib/web"
}
}
Loading

0 comments on commit 16bef46

Please sign in to comment.