2015-07-05 64 views
2

我使用Enplug SDK網絡擴展程序創建應用程序,使用Enplug在屏幕上顯示來自DSMenu的數字菜單。我在我的配置頁面上使用AngularJS。Enplug SDK網絡擴展程序URL之間的區別?

我對this tutorial有效負載中this guide後端的「配置Url」設置和Value.Url之間的關係感到困惑。

配置URL

Configure Enplug app

Value.Url

$scope.page = { 
    Value: { 
     ShowContent: 'url', // Show Content is used to hide/show the Url or Html form field based on the selection. 
     Url: '', // The Url the web page back-end uses to display the content. 
     Html: '', // If applicable, used to show custom HTML. Cannot be used in conjunction with the Url. 
     ShowMobileWebsite: false, //Only applies if OverrideUserAgent is true, False = Show Desktop Website, True = Show Mobile Website 
     OverrideUserAgent: false, //False = Use android's best fit. True = Use the value of ShowMobileWebsite 
     ShowDelay: 0, //Custom delay between displaying the page after it's been loaded. 
     RefreshInterval: 0, // Custom refresh interval rate in X seconds. 
     AllowJavascript: true, // Set to true by default, allows Javascript to be executed on the page. 
     Username: '', // Username option, would need to write script passing in credentials. 
     Password: '', // Password option, would need to write script passing in credentials. 
     Token: '', // Token option, would need to wrtie script passing in credentials. 
     JavascriptOnload: '' // Custom JS to be executed once the page loads, can be used to log into authenticated pages. 
    } 
}; 

我創建了一個頁面http://www.dsmenu.com/con-enplug-display.php和每個應用程序將有一個自定義的URL顯示像http://www.dsmenu.com/uph/204菜單。我在哪裏放每個?

回答

相關問題