- 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.
推薦閱讀
- Vue 3移動Web開發與性能調優實戰
- Oracle WebLogic Server 12c:First Look
- Bootstrap Site Blueprints Volume II
- C/C++常用算法手冊(第3版)
- Lua程序設計(第4版)
- Visual C++數字圖像處理技術詳解
- 單片機C語言程序設計實訓100例
- jQuery炫酷應用實例集錦
- Java Web開發就該這樣學
- 代碼閱讀
- 零基礎學Scratch 3.0編程
- Drupal 8 Development Cookbook(Second Edition)
- Learning D3.js 5 Mapping(Second Edition)
- INSTANT LESS CSS Preprocessor How-to
- Python程序設計現代方法