docs: add documentation for expr function expression support#6735
Merged
docs: add documentation for expr function expression support#6735
Conversation
hustcc
reviewed
Apr 2, 2025
Contributor
Author
|
在我完善 demo 时,遇到了一个问题, attr 属性貌似无法使用 spec 传入,无论是单测的例子还是官网的例子,好像 attr 的调用方法都是 函数式 调用形式。而且官网的 函数式 -> spec 例子中,会把 attr 中定义的属性提取到父对象中。例如 https://g2.antv.antgroup.com/examples/composition/space#space-layer ,所以我们还需要支持 attr 吗? |
Member
算是一个 bug,那就先移除支持吧,记得文档也修改一下。 |
Pull Request Test Coverage Report for Build 14235348496Warning: This coverage report may be inaccurate.This pull request's base commit is no longer the HEAD commit of its target branch. This means it includes changes from outside the original pull request, including, potentially, unrelated coverage changes.
Details
💛 - Coveralls |
hustcc
approved these changes
Apr 8, 2025
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Checklist
Description of change