Element: [Feature, Request], Can, tag, component, add, click, event?

Created on 5 Jun 2017  ·  4Comments  ·  Source: ElemeFE/element

Existing Component

Component Name

Tag 标签

Description

Tag 标签 能够添加点击事件

Most helpful comment

给@close事件添加.stop修饰符,阻止事件冒泡 详情见demo

All 4 comments

Translation of this issue:

Existing Component

yes

Component Name

Tag Tags

Description

Tag tags can add click events

如果给标签添加原生点击事件,同时closable为true(存在可关闭按钮),点击关闭按钮时会触发标签原生点击事件,是否能够有参数控制点击关闭按钮时不触发标签原生点击事件

给@close事件添加.stop修饰符,阻止事件冒泡 详情见demo

Was this page helpful?
0 / 5 - 0 ratings