Search in sources :

Example 1 with StylesheetOptions

use of org.apache.tapestry5.services.javascript.StylesheetOptions in project tapestry-5 by apache.

the class AssetDemo method afterRender.

@Import(stylesheet = "context:css/via-import.css")
void afterRender() {
    javascriptSupport.importStylesheet(new StylesheetLink(ieOnly, new StylesheetOptions(null, "IE")));
    javascriptSupport.importJavaScriptLibrary(getAssetWithWrongChecksumUrl());
}
Also used : StylesheetLink(org.apache.tapestry5.services.javascript.StylesheetLink) StylesheetOptions(org.apache.tapestry5.services.javascript.StylesheetOptions) Import(org.apache.tapestry5.annotations.Import)

Aggregations

Import (org.apache.tapestry5.annotations.Import)1 StylesheetLink (org.apache.tapestry5.services.javascript.StylesheetLink)1 StylesheetOptions (org.apache.tapestry5.services.javascript.StylesheetOptions)1