Total Pageviews

Tuesday, March 11, 2014

សូមមើល Native.newWebView នេះតិចមើល

native.newWebView() សំរាប់ Native មួយនេះប្រើក្នុងការ Loads នៅ Web Page ពី Remote នៅក្នុង Web View Container។ សំរាប់ Native មួយនេះខុសពី Native.webPopUp  ដែលអាច បំលាស់ទីរបស់វាបាន x/y properties, rotate them (via the rotation property) ឬដាក់ physics bodies ហើយនឹង Display Object ផ្សេងៗទៀតបាន។ វា Support នៅ Loading ពី local file ដែលផ្ទុក HTML ឬក៏ពី remote website

Syntax: native.newWebView( centerX, centerY, width, height )

centerX, centerY (តំរូវការ) ជាចំនុចកណ្តលរបស់ x & y របស់ Web View
width & height (តំរូវការ) ជា Width & Height របស់ Web View (គិតជា Pixel)

ចំនាំះ អ្នកមិនអាច View វានៅលើ កុំព្យូទ័របានទេ 


No comments:

Post a Comment