Anatomy of a Widget
How to found the Widget folder path
Right click one of the widget on your desktop and select the menuitem "Window > Open Folder" to open the widget's folder path. Go up level to a folder named "Widgets", it is the RainWidget's Widgets folder path.
Or Open the AddWidget window, right click one of the widget in list and select the menuitem "Open Folder” to open the widget's folder path
. Go up level to a folder named "Widgets", it is the RainWidget's Widgets folder path.
Widget's files
"widget.json" file: It is used to describe the information of the widget,for excample: Widget name,size,author . it also include the measures of the widget.
"index.html" file: It is used to describe the widget UI via HTML5/CSS3/Javascript
"preview.jpg" file: every widget need a JPEG image file named "preview.jpg" to display the preview.
Last updated