Skip to content

It is recommended to add the data attribute to the TabPane of the tab component, which can temporarily store some extended attributes #5426

@linziguan

Description

@linziguan
  • I have searched the issues of this repository and believe that this is not a duplicate.

What problem does this feature solve?

在调用tab的change或tabClick事件中,一般只拿到key(key一般是id,或者index),拿到key后,还需要在数组中把所需要的扩展信息取出来,这样操作比较麻烦。

What does the proposed API look like?

在TabPane里增加了data之后,当触发change或tabClick事件时,就可以拿到对应的扩展属性。

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions