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

[feature-request] Dialog 单例调用支持 transition 属性 #716

Closed
zhenyu-dev opened this issue Nov 4, 2020 · 0 comments
Closed

[feature-request] Dialog 单例调用支持 transition 属性 #716

zhenyu-dev opened this issue Nov 4, 2020 · 0 comments
Assignees
Labels
@Components Components related feature New feature or request

Comments

@zhenyu-dev
Copy link

What problem does this feature solve?

目前的单例只有 md-bounce,给用户感觉是一种警告弹窗,而有时弹窗只是一些说明,因此 md-bounce 并不合适

What does the proposed API look like?

vm.$dialog.alert({
  ...
  transition: 'md-fade'
})

或者

Vue.prototype.$dialog = Dialog({
  transition: 'md-fade'
})

全局配置

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
@Components Components related feature New feature or request
Projects
None yet
Development

No branches or pull requests

3 participants