iview Can the [Feature Request]Notice component add the offset configuration other than the top property

h9vpoimq  于 9个月前  发布在  其他
关注(0)|答案(1)|浏览(142)

What problem does this feature solve?

Notice 组件希望单单在右侧,有些在左侧,有些在右侧,期望可以在创建 Notice 的时候,传入 top,left,right,bottom 等等偏移量的属性

What does the proposed API look like?

this.$Notice.open(config)

config 中额外增加left,right,bottom属性

mutmk8jj

mutmk8jj1#

Translation of this issue:
What problem does this feature solve ###?
Notice components want to be on the right side only, some on the left side, and some on the right side. Expect to create top, left, right, bottom and so on when creating Notice.
What does the proposed API look ### like?
This.$Notice.open (config)
Additional left, right, bottom attributes are added to config

相关问题