- 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.
推薦閱讀
- Python概率統計
- C#程序設計實訓指導書
- Mastering Objectoriented Python
- Web Development with Django Cookbook
- 編程珠璣(續)
- 新手學Visual C# 2008程序設計
- Internet of Things with the Arduino Yún
- 編程菜鳥學Python數據分析
- Visualforce Developer’s guide
- LabVIEW虛擬儀器入門與測控應用100例
- Qlik Sense? Cookbook
- 遠方:兩位持續創業者的點滴思考
- Secret Recipes of the Python Ninja
- Learning Cocos2d-JS Game Development
- Mastering ArcGIS Server Development with JavaScript