Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

docs: add onMouseEnter and onMouseLeave event TypeScript definition for Tree #18796

Conversation

@MrHeer
Copy link
Contributor

commented Sep 13, 2019

🤔 This is a ...

  • New feature
  • Bug fix
  • Site / document update
  • Component style update
  • TypeScript definition update
  • Refactoring
  • Code style optimization
  • Test Case
  • Branch merge
  • Other (about what?)

🔗 Related issue link

close #18786

📝 Changelog

Language Changelog
🇺🇸 English Add onMouseEnter and onMouseLeave event TypeScript definition
🇨🇳 Chinese 为 Tree 新增 onMouseEnter 和 onMouseLeave 事件的 TypeScript 类型

☑️ Self Check before Merge

  • Doc is updated/provided or not needed
  • Demo is updated/provided or not needed
  • TypeScript definition is updated/provided or not needed
  • Changelog is provided or not needed

View rendered components/tree/index.en-US.md
View rendered components/tree/index.zh-CN.md


View rendered components/tree/index.en-US.md
View rendered components/tree/index.zh-CN.md

@pr-triage pr-triage bot added the PR: unreviewed label Sep 13, 2019
@netlify

This comment has been minimized.

Copy link

commented Sep 13, 2019

Deploy preview for ant-design ready!

Built with commit a8e8b5e

https://deploy-preview-18796--ant-design.netlify.com

@codecov

This comment has been minimized.

Copy link

commented Sep 13, 2019

Codecov Report

Merging #18796 into master will not change coverage.
The diff coverage is n/a.

Impacted file tree graph

@@           Coverage Diff           @@
##           master   #18796   +/-   ##
=======================================
  Coverage    96.9%    96.9%           
=======================================
  Files         281      281           
  Lines        7540     7540           
  Branches     2100     2103    +3     
=======================================
  Hits         7307     7307           
  Misses        231      231           
  Partials        2        2
Impacted Files Coverage Δ
components/tree/Tree.tsx 96.87% <ø> (ø) ⬆️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 98dfd2a...6ac28b8. Read the comment docs.

@codecov

This comment has been minimized.

Copy link

commented Sep 13, 2019

Codecov Report

Merging #18796 into master will not change coverage.
The diff coverage is n/a.

Impacted file tree graph

@@           Coverage Diff           @@
##           master   #18796   +/-   ##
=======================================
  Coverage    96.9%    96.9%           
=======================================
  Files         281      281           
  Lines        7540     7540           
  Branches     2100     2058   -42     
=======================================
  Hits         7307     7307           
  Misses        231      231           
  Partials        2        2
Impacted Files Coverage Δ
components/tree/Tree.tsx 96.87% <ø> (ø) ⬆️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 98dfd2a...a8e8b5e. Read the comment docs.

@MrHeer MrHeer changed the title docs(Tree): Add onMouseEnter and onMouseLeave event typeScript definition docs: Add onMouseEnter and onMouseLeave event typeScript definition for Tree Sep 13, 2019
@@ -48,6 +48,8 @@ subtitle: 树形控件
| onDrop | drop 触发时调用 | function({event, node, dragNode, dragNodesKeys}) | - | |
| onExpand | 展开/收起节点时触发 | function(expandedKeys, {expanded: bool, node}) | - | |
| onLoad | 节点加载完毕时触发 | function(loadedKeys, {event, node}) | - | 3.7.0 |
| onMouseEnter | 进入 TreeNode 时调用 | function({event, node}) | - | |
| onMouseLeave | 离开 TreeNode 时调用 | function({event, node}) | - | |

This comment has been minimized.

Copy link
@afc163

afc163 Sep 13, 2019

Member

No need document for all onXxx events.

@afc163 afc163 changed the title docs: Add onMouseEnter and onMouseLeave event typeScript definition for Tree docs: add onMouseEnter and onMouseLeave event typeScript definition for Tree Sep 13, 2019
@afc163 afc163 changed the title docs: add onMouseEnter and onMouseLeave event typeScript definition for Tree docs: add onMouseEnter and onMouseLeave event TypeScript definition for Tree Sep 13, 2019
@afc163 afc163 merged commit 56abebf into ant-design:master Sep 13, 2019
25 of 29 checks passed
25 of 29 checks passed
Semantic Pull Request add a semantic commit or PR title
Details
ant-design.ant-design in progress
Details
Header rules - ant-design No header rules processed
Details
Pages changed - ant-design 215 new files uploaded
Details
DEP All dependencies are resolved
LGTM analysis: JavaScript No new or fixed alerts
Details
Mixed content - ant-design No mixed content detected
Details
Redirect rules - ant-design 18 redirect rules processed
Details
WIP Ready for review
Details
buildsize No change
Details
ci/circleci: check_metadata Your tests passed on CircleCI!
Details
ci/circleci: compile Your tests passed on CircleCI!
Details
ci/circleci: dist Your tests passed on CircleCI!
Details
ci/circleci: lint Your tests passed on CircleCI!
Details
ci/circleci: setup Your tests passed on CircleCI!
Details
ci/circleci: test_dist Your tests passed on CircleCI!
Details
ci/circleci: test_dist_15 Your tests passed on CircleCI!
Details
ci/circleci: test_dom Your tests passed on CircleCI!
Details
ci/circleci: test_dom_15 Your tests passed on CircleCI!
Details
ci/circleci: test_es Your tests passed on CircleCI!
Details
ci/circleci: test_es_15 Your tests passed on CircleCI!
Details
ci/circleci: test_lib Your tests passed on CircleCI!
Details
ci/circleci: test_lib_15 Your tests passed on CircleCI!
Details
ci/circleci: test_node Your tests passed on CircleCI!
Details
ci/circleci: test_node_15 Your tests passed on CircleCI!
Details
codecov/patch Coverage not affected when comparing 98dfd2a...a8e8b5e
Details
codecov/project 96.9% remains the same compared to 98dfd2a
Details
netlify/ant-design/deploy-preview Deploy preview ready!
Details
security/snyk - package.json (paranoidjk) No manifest changes detected
@pr-triage pr-triage bot added PR: merged and removed PR: unreviewed labels Sep 13, 2019
@MrHeer MrHeer deleted the MrHeer:add-onMouseEnter-and-onMouseLeave-for-Tree-master branch Sep 13, 2019
@afc163 afc163 referenced this pull request Sep 16, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
2 participants
You can’t perform that action at this time.