Class ComponentStypObjectFormat

Component's CSS object model production format.

Renders CSS when component's element connected to document.

This format is used by default.

Hierarchy

Constructors

Properties

context: ComponentContext<any>

Target 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