Class AmetysSassFunctionsProvider
java.lang.Object
org.ametys.plugins.core.ui.resources.css.sass.AbstractAmetysSASSFunctionsProvider
org.ametys.web.resources.css.sass.AmetysSassFunctionsProvider
- All Implemented Interfaces:
SassFunctionsProvider
,Contextualizable
,Serviceable
public class AmetysSassFunctionsProvider
extends AbstractAmetysSASSFunctionsProvider
implements Serviceable
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
-
Field Summary
Fields inherited from class org.ametys.plugins.core.ui.resources.css.sass.AbstractAmetysSASSFunctionsProvider
_context
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
service
(ServiceManager manager) io.bit3.jsass.type.SassString
Resolve url path inside the current skinMethods inherited from class org.ametys.plugins.core.ui.resources.css.sass.AbstractAmetysSASSFunctionsProvider
contextualize
-
Constructor Details
-
AmetysSassFunctionsProvider
public AmetysSassFunctionsProvider()
-
-
Method Details
-
service
- Specified by:
service
in interfaceServiceable
- Throws:
ServiceException
-
skinUrl
Resolve url path inside the current skin- Parameters:
path
- the path relative to the current skin- Returns:
- the absolute path
-