Skip to content

Widget files

Nicolas HILAIRE edited this page Apr 18, 2016 · 1 revision

Files

A widget has following architecture:

  • package.json: This file describe your widget,
  • view.html: This file represents the view of your widget using knock out syntax,
  • viewModel.js: This file represent the viewmodel of your widget using knock out syntax,
  • widget.css: This file contains all stylesheet information,
  • preview.png: This file contains a little preview image of your widget,
  • locales folder: This folder contains all i18n files.
Clone this wiki locally