PRELIMINARY INFORMATION - SUBJECT TO CHANGE
Processes aggregated CSS by moving @import statements to the top, or expanding them in place.
Rules: if mode=Expand, the @import statement will still be moved to the top if not pointing to a local file or item, or when media argument is specified.
Rules: if mode=Expand, the @import statement will still be moved to the top if not pointing to a local file or item, or when media argument is specified.
Syntax
Smartsite SXML | Copy Code |
---|---|
string scf.includes.processaggregatedcssimports(string css, enum mode) |
Parameters
Name | Data Type | Description |
---|---|---|
css | String | The (aggregated) CSS to finalize |
mode | Enum |
The mode used to process the CSS (expand or move to top)
Enum values:
|
Return Value
Data Type | Description |
---|---|
String | String |