- Learning DHTMLX Suite UI
- Eli Geske
- 138字
- 2021-07-23 15:40:35
Creating the application file app.js>
The first application file is the app.js
file. This will contain all of the JavaScript to create the components and interactions.
Let's start by creating the app.js
file in the js
/application
directory.
Inside this file, add a config
object at the top as shown in the following snippets:
var config = { imagePath: "js/dhtmlx/imgs/", iconPath: "" }
This config
object contains the global properties for the DHTMLX components. The imagePath
property is the path where the images reside for the components styling. The second one which we left blank is the path where the icons will be stored. Icons can be used in several different components like the Modal Window header and the toolbar buttons.
Icons do not come with DHTMLX and have to be added from a free or purchased icons library.
推薦閱讀
- Cross-platform Desktop Application Development:Electron,Node,NW.js,and React
- AIRAndroid應(yīng)用開發(fā)實戰(zhàn)
- JavaScript+jQuery開發(fā)實戰(zhàn)
- Learning ELK Stack
- CRYENGINE Game Development Blueprints
- Oracle Database XE 11gR2 Jump Start Guide
- Functional Python Programming
- 深入理解Java虛擬機:JVM高級特性與最佳實踐
- Java服務(wù)端研發(fā)知識圖譜
- Mastering Unity 2017 Game Development with C#(Second Edition)
- Mobile Test Automation with Appium
- Python深度學(xué)習(xí)入門:從零構(gòu)建CNN和RNN
- Python程序設(shè)計案例教程
- Learning ClojureScript
- Go Programming Blueprints