1
0
mirror of https://gitee.com/vant-contrib/vant-weapp.git synced 2025-04-06 03:58:05 +08:00
landluck 9352b33673
feat(overlay): add root-portal prop support ()
* feat(overlay): add root-portal prop support

* feat(overlay): opt doc style

---------

Co-authored-by: liuhaihonggia <liuhaihong@youzan.com>
2023-02-27 11:23:26 +08:00

10 lines
270 B
Plaintext

<van-transition
show="{{ show }}"
custom-class="van-overlay custom-class"
custom-style="z-index: {{ zIndex }}; {{ customStyle }}"
duration="{{ duration }}"
bind:tap="onClick"
catch:touchmove="{{ lockScroll ? 'noop' : ''}}"
>
<slot></slot>
</van-transition>