跳到主要内容

bn.setPageScrollable

setPageScrollable(scrollable): void

description set page scrollable

example

bn.setPageScrollable(false)
bn.showModal({
title: 'title',
content: 'content',
success: function (res) {
bn.setPageScrollable(true)
},
fail: function (res) {
bn.setPageScrollable(true)
}
})

Parameters

NameTypeDescription
scrollablebooleanwhether page is scrollable

Returns

void