XboxYan / xy-ui

🎨面向未来的原生 web components UI组件库
https://xy-ui.codelabo.cn/
MIT License
1.2k stars 161 forks source link

/xy-switch #18

Open XboxYan opened 5 years ago

XboxYan commented 5 years ago

https://xy-ui.codelabo.cn/docs/#/xy-switch

Description

XboxYan commented 5 years ago

focus有问题,每次click都会触发

daleizi commented 5 years ago

缺少了文字显示 例如: 开 关

XboxYan commented 5 years ago

@daleizi 缺少了文字显示 例如: 开 关

这个要看设计,感觉加上文字不好看

daleizi commented 5 years ago

没有文字是怕有些人看不懂,不够可以通过提示来提醒

------------------ 原始邮件 ------------------ 发件人: "XboxYan"notifications@github.com; 发送时间: 2019年9月6日(星期五) 下午5:10 收件人: "XboxYan/xy-ui"xy-ui@noreply.github.com; 抄送: "爱音乐"3106875831@qq.com; "Mention"mention@noreply.github.com; 主题: Re: [XboxYan/xy-ui] /xy-switch (#18)

@daleizi 缺少了文字显示 例如: 开 关

这个要看设计,感觉加上文字不好看

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub, or mute the thread.

daleizi commented 5 years ago

有群啊,微信或者QQ的,我赶紧你的这个很不错

------------------ 原始邮件 ------------------ 发件人: "XboxYan"notifications@github.com; 发送时间: 2019年9月6日(星期五) 下午5:10 收件人: "XboxYan/xy-ui"xy-ui@noreply.github.com; 抄送: "爱音乐"3106875831@qq.com; "Mention"mention@noreply.github.com; 主题: Re: [XboxYan/xy-ui] /xy-switch (#18)

@daleizi 缺少了文字显示 例如: 开 关

这个要看设计,感觉加上文字不好看

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub, or mute the thread.

XboxYan commented 5 years ago

@daleizi 有群啊,微信或者QQ的,我赶紧你的这个很不错

还没,你可以分享给自己的小伙伴使用起来,有bug及时反馈

daleizi commented 5 years ago

可以建一个啊,这样交流方便,说到底用的人多了,才有反馈

------------------ 原始邮件 ------------------ 发件人: "XboxYan"notifications@github.com; 发送时间: 2019年9月6日(星期五) 下午5:24 收件人: "XboxYan/xy-ui"xy-ui@noreply.github.com; 抄送: "爱音乐"3106875831@qq.com; "Mention"mention@noreply.github.com; 主题: Re: [XboxYan/xy-ui] /xy-switch (#18)

@daleizi 有群啊,微信或者QQ的,我赶紧你的这个很不错

还没,你可以分享给自己的小伙伴使用起来,有bug及时反馈

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub, or mute the thread.

XboxYan commented 5 years ago

@daleizi 可以建一个啊,这样交流方便,说到底用的人多了,才有反馈

好主意。

daleizi commented 5 years ago

什么时间可以建好啊

------------------ 原始邮件 ------------------ 发件人: "XboxYan"notifications@github.com; 发送时间: 2019年9月6日(星期五) 下午5:28 收件人: "XboxYan/xy-ui"xy-ui@noreply.github.com; 抄送: "爱音乐"3106875831@qq.com; "Mention"mention@noreply.github.com; 主题: Re: [XboxYan/xy-ui] /xy-switch (#18)

@daleizi 可以建一个啊,这样交流方便,说到底用的人多了,才有反馈

好主意。

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub, or mute the thread.

daleizi commented 5 years ago

大兄弟,你的群建好了啊,建好了,加我下啊 QQ 3106875831 。多交流啊

------------------ 原始邮件 ------------------ 发件人: "XboxYan"notifications@github.com; 发送时间: 2019年9月6日(星期五) 下午5:28 收件人: "XboxYan/xy-ui"xy-ui@noreply.github.com; 抄送: "爱音乐"3106875831@qq.com; "Mention"mention@noreply.github.com; 主题: Re: [XboxYan/xy-ui] /xy-switch (#18)

@daleizi 可以建一个啊,这样交流方便,说到底用的人多了,才有反馈

好主意。

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub, or mute the thread.

taohuangtao commented 4 years ago

不能直接和 vue 结合使用 v-model 绑定数据

XboxYan commented 4 years ago

@taohuangtao 我没有用过vue,理论上也是支持的,你可以自行搜索一下“如何在vue中使用web-components”

taohuangtao commented 4 years ago

是可以,只是没有原生控件(input)方便

---Original--- From: "XboxYan"<notifications@github.com> Date: Tue, Dec 3, 2019 19:12 PM To: "XboxYan/xy-ui"<xy-ui@noreply.github.com>; Cc: "Comment"<comment@noreply.github.com>;"taohuangtao"<tao_huangtao@qq.com>; Subject: Re: [XboxYan/xy-ui] /xy-switch (#18)

@taohuangtao 我没有用过vue,理论上也是支持的,你可以自行搜索一下“如何在vue中使用web-components”

— You are receiving this because you commented. Reply to this email directly, view it on GitHub, or unsubscribe.

XboxYan commented 4 years ago

@taohuangtao 原生input其实是已经在vue里内部定义过(其他原生标签也是),比如change事件,内部也是单独处理了的,web-components是最接近原生的一类组件,不仅可以用到vue工程,还可以用到react工程,都只需简单的处理一下即可