You can also have the JS come from an external URL, include CSS files, and there are other possibilities. This example assumes that the actual JavaScript cuddly-slider.js is located in the subfolder js of your module. You cannot use other keys as these will cause strict warnings. So here if you specify theme it means that the CSS file contains theme related styling which is pure look and feel. theme: purely visual styling (“look-and-feel”) for a component.state: styles that deal with client-side changes to components.Key assigns a weight of CSS_COMPONENT = 0 component: discrete, reusable UI elements. ![]() Key assigns a weight of CSS_LAYOUT = -100
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |