Module sophistry

This module supports CSS loading, caching and 'localised' reuse. The article at https://developer.mozilla.org/en-US/docs/Web/API/Web_components/Using_shadow_DOM#applying_styles_inside_the_shadow_dom

  • stated that programmatically creating stylesheets facilitates
  • selective reuse (as we would like when working with web components). Considering that CSS is
  • traditionally written declaratively, it is worthwile to try to reduce the
  • programming involved to use CSS with web components.

The main export here is Sophistry.

Index

Classes