提交 bcc322d5 编写于 作者: Q qiang

feat(app): video 组件支持 enable-play-gesture 属性

上级 e9a2b355
<template>
<uni-video v-on="$listeners">
<div
ref="container"
class="uni-video-container"
<div
ref="container"
class="uni-video-container"
/>
<div class="uni-video-slot">
<slot />
......@@ -56,6 +56,7 @@ const attrs = [
'pageGesture',
'enableProgressGesture',
'showPlayBtn',
'enablePlayGesture',
'showCenterPlayBtn',
'showLoading',
'codec',
......@@ -145,6 +146,10 @@ export default {
type: [Boolean, String],
default: true
},
enablePlayGesture: {
type: [Boolean, String],
default: true
},
showCenterPlayBtn: {
type: [Boolean, String],
default: true
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册