Building Apps with Jigx
UI
Assets
5min
The assets, which consist of icons and images, preload and cache when the solution downloads or updates. This allows the images and icons to display when the app is offline and improves the app's performance.
Assets folder
All icons used throughout a solution are automatically added to the icons.jigx file under the assets folder.
The following applies to the icons: list:
- Each icon change detection automatically causes an update of the icons: list in the icons.jigx file.
- Icons are automatically added to the list or you can manually add icons to the list.
- Automatically generated icons are indicated by a comment # auto-generated after the icon name in the list.
- Manually added icons do not have the comment added.
All images used in the header code snippets of a solution are automatically added to the images.jigx file under the assets folder. You can manually add any other images referenced throughout the solution to the images.jigx file.
- Automatically generated header images are indicated by a comment # auto-generated after the image name in the list.
- Manually added images do not have the comment added.
Every item listed in the images.jigx file needs to start with one of the following:
- http:
- https:
- ftp:
- file:
- content:
- res:
- android.resources:
- data:image/png;base64
- data:image/jpeg;base64