You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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).
The text was updated successfully, but these errors were encountered:
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.
litejs/dom#13 (comment)
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).The text was updated successfully, but these errors were encountered: