Class ComponentStypFormatAbstract

Component style production format.

This format can be obtained from component context.

The formats implemented:

Hierarchy

Constructors

Properties

context: ComponentContext<any>

Component context.

Methods

  • Creates component's CSS stylesheets producer based on the given CSS rules.

    Utilizes ComponentStyleProducer.

    Returns

    CSS rules producer function returning CSS rules supply. Once cut off the produced stylesheets are removed.

    Parameters

    • rules: Source

      A source of CSS rules to produce stylesheets for.

    • Optional config: ComponentStypFormatConfig

      Style production format configuration.

    Returns ((this: void) => Supply)

      • (this: void): Supply
      • Creates component's CSS stylesheets producer based on the given CSS rules.

        Utilizes ComponentStyleProducer.

        Returns

        CSS rules producer function returning CSS rules supply. Once cut off the produced stylesheets are removed.

        Parameters

        • this: void

        Returns Supply

Generated using TypeDoc