Replies: 2 comments
-
elementHighlightconst options = {
services: [
{ type: 'hoverElement' },
{ type: 'relateElement' },
],
transformers: [
{ type: 'setState', state: 'highlight' },
{ type: 'renderLink' },
{ type: 'renderBackground' }
]
}; |
Beta Was this translation helpful? Give feedback.
0 replies
-
elementSelectconst options = {
services: [
{ type: 'clickElement' },
{ type: 'relateElement' },
],
transformers: [
{ type: 'setState', state: 'highlight' },
{ type: 'renderLink' },
{ type: 'renderBackground' }
]
}; |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
交互
交互已经根据按照 4.0 以及山大的交互语法实现了一版,但目前还存在一些问题,这里对交互语法进行修改,目的是解决这些问题。
存在问题
开始
这里用高亮交互举例子。
有以下实现方式:
设计
API 形式的设计参考了 RXJS,一种声明形式处理事件的方式。
Beta Was this translation helpful? Give feedback.
All reactions