Skip to content
This repository has been archived by the owner on Sep 8, 2024. It is now read-only.

Commit

Permalink
docs: delete some things
Browse files Browse the repository at this point in the history
  • Loading branch information
sheepbox8646 committed Apr 29, 2024
1 parent 534cc53 commit 8ce60cc
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 5 deletions.
2 changes: 0 additions & 2 deletions docs/content/api/basic.md
Original file line number Diff line number Diff line change
Expand Up @@ -168,5 +168,3 @@ In addition to the options inherited from Widget, the Svg class has the followin

- `width: number` (optional): Width of the SVG.
- `height: number` (optional): Height of the SVG.

Please note that this documentation is based on the code snippets provided and may not include all details or options. Refer to the original code or documentation for any omissions or further clarifications.
2 changes: 0 additions & 2 deletions docs/content/zh/api/basic.md
Original file line number Diff line number Diff line change
Expand Up @@ -168,5 +168,3 @@ Circle 类继承自 Arc 类,没有额外的选项或样式。

- `width: number`(可选):SVG 的宽度。
- `height: number`(可选):SVG 的高度。

请注意,此文档基于您提供的代码摘录,可能不包括所有细节或选项。如果有任何遗漏或需要进一步澄清的地方,请参考原始代码或文档。
4 changes: 3 additions & 1 deletion docs/content/zh/dev/advanced-widget.md
Original file line number Diff line number Diff line change
Expand Up @@ -218,6 +218,8 @@ export class Arrow extends Figure {

在上面的代码中,我们添加了 `trim` (箭头的杆) 和 `tip` (箭头的尖), 然后对其进行旋转组合,就成了箭头

:::warn
:::tip

请在 `construnctor` 里创建并加入子组件,因为init只有动画play后才会进行调用,所以可能会有一定的几率报错

:::

0 comments on commit 8ce60cc

Please sign in to comment.