W3Cschool
恭喜您成為首批注冊用戶
獲得88經(jīng)驗值獎勵
設置frame屬性
setFrameAttr({params})
name:
bounces:
hidden:
bgColor:
scrollToTop:
scrollEnabled:
vScrollBarEnabled:
hScrollBarEnabled:
scaleEnabled:
allowEdit:
rect:
{
x:0, //左上角x坐標
y:0, //左上角y坐標
w:320, //寬度,若傳'auto',頁面從x位置開始自動充滿父頁面寬度
h:480 //高度,若傳'auto',頁面從y位置開始自動充滿父頁面高度
}
softInputMode:
resize //若鍵盤蓋住輸入框,頁面會自動上移
pan //若鍵盤蓋住輸入框,頁面不會自動上移
auto //默認值,由系統(tǒng)決定如何處理,iOS平臺該字段等同于resize
api.setFrameAttr({
name: 'page2',
bounces: true
});
設置 frame 屬性
iOS系統(tǒng),Android系統(tǒng)
可提供的1.0.0及更高版本
Copyright©2021 w3cschool編程獅|閩ICP備15016281號-3|閩公網(wǎng)安備35020302033924號
違法和不良信息舉報電話:173-0602-2364|舉報郵箱:jubao@eeedong.com
掃描二維碼
下載編程獅App
編程獅公眾號
聯(lián)系方式:
更多建議: