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

Tip控件未完成部分 #29

Closed
otakustay opened this issue May 6, 2013 · 0 comments
Closed

Tip控件未完成部分 #29

otakustay opened this issue May 6, 2013 · 0 comments
Assignees

Comments

@otakustay
Copy link
Member

参考:http://fe.baidu.com/doc/ecom/std/ui/v1.1/tip.text

  1. 增加hideDelay属性,控制消失的延迟时间,注意计时器不要混乱
  2. 增加mode属性,控制交互的事件
  3. 增加showhide事件

另,建议增加:

  1. 增加showDelay属性,当mode值为over时生效,不要鼠标路过就显示出来,默认值为100ms
  2. 增加自动摆放模式,当arrow为1或true等非字符串值,或者无arrow时,自动根据空间判断放置的位置和箭头(可二期再做)
  3. 增加从已有的DOM中抽取titlecontent属性,避免在js中还要写HTML或者需要在模板中分离对应的内容的尴尬(可二期再做)

@badplum 关注,尽快实现

@ghost ghost assigned badplum May 6, 2013
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants