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

修改 [draggable] 增加无注释版本 #31

Closed
wants to merge 4 commits into from
Closed

修改 [draggable] 增加无注释版本 #31

wants to merge 4 commits into from

Conversation

yujiangshui
Copy link
Contributor

在使用中,对一些元素设置 draggable=“false” 之后,同样会激活这个可移动图标。应该做更严格的选择。

在使用中,Sass 等预编译器处理的时候,中文字符不太友好,于是新建了一个删掉注释版本。

在 Firefox 等浏览器下,当鼠标移动到 img 标签上,会变成 move 手势。
设置只有在 draggable 属性为 true 时,显示 move。明确设置 false 的元素的元素不显示。
Sass 预编译器,默认不支持中文编码,里面的中文注释会导致错误。提供一个无注释版本,同时减小 css 文件体积。
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant