feat(Calendar): add click-on-click-overlay prop
This commit is contained in:
@@ -64,6 +64,10 @@ export default createComponent({
|
||||
safeAreaInsetBottom: {
|
||||
type: Boolean,
|
||||
default: true
|
||||
},
|
||||
closeOnClickOverlay: {
|
||||
type: Boolean,
|
||||
default: true
|
||||
}
|
||||
},
|
||||
|
||||
@@ -314,6 +318,7 @@ export default createComponent({
|
||||
class={bem('popup')}
|
||||
value={this.value}
|
||||
position={this.position}
|
||||
closeOnClickOverlay={this.closeOnClickOverlay}
|
||||
onInput={this.togglePopup}
|
||||
>
|
||||
{this.genCalendar()}
|
||||
|
||||
Reference in New Issue
Block a user