Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.


Excerpt

The reference shows the full usage of the custom dashboard loaders for Squirro dashboards.

...

FileTypeExplanation
loader.jsJavaScriptThe executable code of the dashboard loader. This file is loaded together with the dashboard.
loader.cssCSSThe CSS of the dashboard loader.

Additionally a number of CSS files can be included in a loader. They will all be made accessible to the loader code.

...

It's not mandatory but we recommended developers give custom CSS class names to widgets that are being changed by dashboard loaders, this allows other developers to better understand what is being changed later on and gives you some additional specificity when changing cssCSS. See the image below available on all widgets. (Custom CSS Class Name)

...