Class AmetysSASSFunctionsProvider

java.lang.Object
org.ametys.plugins.core.ui.resources.css.sass.AbstractAmetysSASSFunctionsProvider
org.ametys.plugins.core.ui.resources.css.sass.AmetysSASSFunctionsProvider
All Implemented Interfaces:
SassFunctionsProvider, Contextualizable

This helper provides function that will be directly injected into Sass file compilation. Inherited methods are NOT injected. For this reason, method that must not be accessed from Sass have to be declared in the parent class AbstractAmetysSASSHelper
  • Constructor Details

  • Method Details

    • pluginUrl

      public io.bit3.jsass.type.SassString pluginUrl(String plugin, String path)
      Resolve url path inside plugins
      Parameters:
      plugin - The plugin name.
      path - the path relative to the current plugin
      Returns:
      the absolute path