css

overview


The $css method is used to tell the platform what css style sheets are required to be loaded in order to display the component correctly. When the component is first instantiated, the specified style sheets will be inserted into the workspace or blog. The $css method is optional.



this.$css = function () {		
  return ['/lib/style1.css','/lib/style2.css'];
}