Skip to content
This repository has been archived by the owner on Apr 9, 2024. It is now read-only.

建议钩子属性 bx-* 统一为 HTML5 data-*,靠向标准和习惯用法,毕竟自定义属性 bx-* 太容易让人诟病。 #53

Open
nuysoft opened this issue Mar 18, 2013 · 2 comments
Labels

Comments

@nuysoft
Copy link
Member

nuysoft commented Mar 18, 2013

No description provided.

@keyapril
Copy link
Member

考虑到Brix的无缝接入,不想和原有的体现发生冲突,而且bx-_的意义在某种程度上和data-_还有些不一样,参见google的angular.

@cyjake
Copy link
Member

cyjake commented Mar 19, 2013

data-* 和 bx-* 本质上没有区别,这里靠向标准其实一点好处也没有,属性名还变长了 data-bx-name

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

3 participants