Function produceBasicStyle

  • Produces and dynamically updates basic CSS stylesheets based on the given CSS rules.

    Unlike produceStyle, this function does not enable renderers but the basic one which just renders CSS properties. This can be used to save the bundle size by enabling only select renderers.

    Parameters

    • rules: StypRules

      CSS rules to produce stylesheets for. This can be e.g. a rules to render all rules, or a result of grab method call to render only matching ones.

    • format: StypFormat

      Production options.

    Returns Supply

    Styles supply. Once cut off (i.e. its off() method is called) the produced stylesheets are removed.

Generated using TypeDoc