Skip to content

Commit d6801f4

Browse files
tangying1027xuying.xu
and
xuying.xu
authored
chore: 增加player组件例子 (#2017)
Co-authored-by: xuying.xu <xuying.xu@alibaba-inc.com>
1 parent 676bc8c commit d6801f4

File tree

7 files changed

+1353
-11
lines changed

7 files changed

+1353
-11
lines changed

site/.dumi/global.ts

+2
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,8 @@ if (window) {
66
window.React = require('react');
77
window.ReactDOM = require('react-dom');
88
window.gPluginRoughCanvasRenderer = require('@antv/g-plugin-rough-canvas-renderer');
9+
(window as any).lilGui = require('lil-gui');
10+
(window as any).stats = require('stats.js');
911
// window.f2 = require('./src/index-all.js');
1012
// window.DataSet = require('@antv/data-set');
1113
window.lodash = require('lodash');

site/.dumirc.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -151,7 +151,6 @@ export default defineConfig({
151151
en: 'Getting Started',
152152
},
153153
link: `/tutorial/getting-started`,
154-
155154
},
156155
{
157156
text: {
@@ -352,6 +351,7 @@ export default defineConfig({
352351
<div class="mobile-content">
353352
<canvas id="container" style="display: block; width: 375px; height: 260px;" />
354353
</div>
354+
<div id="mobile-footer"></div>
355355
</div>
356356
`,
357357
json: {

site/examples/creative/case/demo/meta.json

+5
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,11 @@
2929
"title": "折线图动态排序",
3030
"screenshot": "https://gw.alipayobjects.com/zos/antfincdn/XjBinPfpXY/line-race.gif"
3131
},
32+
{
33+
"filename": "player.jsx",
34+
"title": "折线图动画",
35+
"screenshot": "https://gw.alipayobjects.com/zos/finxbff/compress-tinypng/qKUDEeJ7aFiPN4RHxhgbP/Kapture_2024_11_18_at_15_59_55.gif"
36+
},
3237
{
3338
"filename": "apple-watch.jsx",
3439
"title": "Apple Watch 健身记录",

0 commit comments

Comments
 (0)