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

AtIndexes组件 希望可以支持自定义部分 #7151

Closed
Murphycx94 opened this issue Jul 24, 2020 · 1 comment
Closed

AtIndexes组件 希望可以支持自定义部分 #7151

Murphycx94 opened this issue Jul 24, 2020 · 1 comment
Labels
enhancement New feature or request

Comments

@Murphycx94
Copy link

这个特性解决了什么问题?

我希望点击了某条内容后,能加上一个选中的效果
但是目前只支持传入list,不能给某条内容添加选中的状态

这个 API 长什么样?

list = [
  {
    key: 'A',
    title: 'A',
    items: [
      { name: '浙江‘, isActive: true }
    ]
  }
]

然后浙江这条元素上可以多增加一个item-active的classname

当然如果支持传入reactelement,就更好了

@Chen-jj
Copy link
Contributor

Chen-jj commented Jul 27, 2020

@Murphycx94 请到 Taro UI 的仓库下提 Feature Request 吧。

@Chen-jj Chen-jj closed this as completed Jul 27, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants