mirror of
https://gitee.com/antv/g6.git
synced 2024-12-04 12:49:04 +08:00
Merge pull request #3095 from rxliuli/docs_修复_G6_状态管理最佳实践引用链接错误
docs(site): 修复 G6 状态管理最佳实践引用链接错误
This commit is contained in:
commit
88b1e6f993
@ -7,7 +7,7 @@ order: 7
|
||||
|
||||
Set the item's state.
|
||||
|
||||
v3.4 and futher versions support multiple values for a state, refer to [Take Use of State Mechanism](/en/docs/manual/middle/states/state-new).
|
||||
v3.4 and futher versions support multiple values for a state, refer to [Take Use of State Mechanism](/en/docs/manual/advanced/state-new).
|
||||
|
||||
This function will emit events `beforitemstatechange` and `afteritemstatechange`.
|
||||
|
||||
|
@ -5,7 +5,7 @@ order: 7
|
||||
|
||||
### graph.setItemState(item, state, value)
|
||||
|
||||
设置元素状态。支持单个状态多值的情况,详情参考 [G6 状态管理最佳实践](/zh/docs/manual/middle/states/state-new)。
|
||||
设置元素状态。支持单个状态多值的情况,详情参考 [G6 状态管理最佳实践](/zh/docs/manual/advanced/state-new)。
|
||||
|
||||
该方法在执行过程中会触发 `beforitemstatechange`,`afteritemstatechange` 事件。
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user