APICloud學習筆記之Window包含Frame


Window是個框架頁面里邊包含若干Frame.

 1 apiready = function() {
 2     var header = $api.byId('header');
 3     $api.fixStatusBar(header);
 4     var headerH = $api.offset(header).h;
 5     api.openFrame({
 6         name: 'login_frame',
 7         url: './login_frame.html',
 8         rect: {
 9             x: 0,
10             y: headerH,
11             w: 'auto',
12             h: 'auto'
13         },
14         pageParam: {
15             name: 'test'
16         },
17         bounces: true
18     });
19 };

 


免責聲明!

本站轉載的文章為個人學習借鑒使用,本站對版權不負任何法律責任。如果侵犯了您的隱私權益,請聯系本站郵箱yoyou2525@163.com刪除。



 
粵ICP備18138465號   © 2018-2025 CODEPRJ.COM