Once #13 is done, it'd be nice to be able to style elements using css selectors. @hayes has posted some sample code that shows how to use cssauron with dom-lite to apply styles.
The styles should be reapplied anytime a dom node has a significant change (not on position, rotation or scale change). The styles should be set as inline styles, so they are reflected down to the client. The client shouldn't receive the <style /> tags (the same way script tags aren't reflected).
Once #13 is done, it'd be nice to be able to style elements using css selectors. @hayes has posted some sample code that shows how to use cssauron with dom-lite to apply styles.
https://github.com/litejs/dom-lite/issues/13#issuecomment-66239490
The styles should be reapplied anytime a dom node has a significant change (not on position, rotation or scale change). The styles should be set as inline styles, so they are reflected down to the client. The client shouldn't receive the
<style />
tags (the same way script tags aren't reflected).