Interface HtmlCssInliner


public interface HtmlCssInliner
HtmlCssInliner inlines CSS from plugin modules into HTML.
  • Method Summary

    Modifier and Type
    Method
    Description
    inlineCss(String html, String cssModuleKey)
    Inline CSS referred to by the given complete module key into a given String of HTML.
  • Method Details

    • inlineCss

      @Nonnull String inlineCss(@Nonnull String html, @Nonnull String cssModuleKey)
      Inline CSS referred to by the given complete module key into a given String of HTML. This will include any CSS resource descriptors referred to in the module's dependency tree.
      Parameters:
      html - HTML to perform CSS inlining on
      cssModuleKey - Complete module key for plugin module that has CSS script resources and/or dependencies
      Returns:
      HTML with CSS inlined.