I am a total beginner with LightningJS framework and I am getting familiar with it. LightningJS framework is obviously an JavaScript framework, but I am wondering if HTML and CSS can be used in combination with this framework. For example, can I build some of my User Interfaces using HTML and CSS? If so, what are the pros and cons of doing this (will it affect the performance of the set-top-box, etc.)? Thank you
Lightning Js is rendering the code inside of a canvas html tag. This way you might be able to do HTML & CSS around it but not inside it.
I suggest you work only with the Lightning Framework. I find the static _template() function to be written like the HTML Dom tree and the visual properties are based on CSS3 properties.