# Uses of Class
org.apache.tapestry5.services.javascript.StackExtension

Packages that use StackExtension
Package
Description
org.apache.tapestry5.modules
org.apache.tapestry5.services.javascript
Support for Javascript (and CSS), including dynamically-added JavaScript and services that manage dynamically-added links to JavaScript (and CSS) assets.

- ## Uses of StackExtension in org.apache.tapestry5.modules

  Method parameters in org.apache.tapestry5.modules with type arguments of type StackExtension
  Modifier and Type
  Method
  Description
  `static void`
  JavaScriptModule.`setupCoreJavaScriptStack(OrderedConfiguration<StackExtension> configuration, Compatibility compatibility, String provider)`
  The core JavaScriptStack has a number of entries: requirejs The RequireJS AMD JavaScript library scriptaculous.js, effects.js Optional JavaScript libraries in compatibility mode (see `Trait.SCRIPTACULOUS`) t53-compatibility.js Optional JavaScript library (see `Trait.INITIALIZERS`) underscore-library, underscore-module The Underscore JavaScript library, and the shim that allows underscore to be injected t5/core/init Optional module related to t53-compatibility.js jquery-library The jQuery library jquery-noconflict Switches jQuery to no-conflict mode (only present when the infrastructure is "prototype"). jquery A module shim that allows jQuery to be injected (and also switches jQuery to no-conflict mode) bootstrap.css, tapestry.css, exception-frame.css, tapestry-console.css, tree.css CSS files t5/core/[...] Additional JavaScript modules jquery Added if the infrastructure provider is "jquery". User modules may replace or extend this list.
  `static void`
  JavaScriptModule.`setupInternalJavaScriptStack(OrderedConfiguration<StackExtension> configuration)`

- ## Uses of StackExtension in org.apache.tapestry5.services.javascript

  Methods in org.apache.tapestry5.services.javascript that return StackExtension
  Modifier and Type
  Method
  Description
  `static StackExtension`
  StackExtension.`javascriptAggregation(JavaScriptAggregationStrategy strategy)`
  Convenience for defining the `JavaScriptStack.getJavaScriptAggregationStrategy()`.
  `static StackExtension`
  StackExtension.`library(String path)`
  Convenience for defining a LIBRARY.
  `static StackExtension`
  StackExtension.`module(String name)`
  Convenience for defining a MODULE.
  `static StackExtension`
  StackExtension.`stack(String name)`
  Convenience for defining a STACK.
  `static StackExtension`
  StackExtension.`stylesheet(String path)`
  Convenience for defining a STYLESHEET.
  Constructor parameters in org.apache.tapestry5.services.javascript with type arguments of type StackExtension
  Modifier
  Constructor
  Description
  ``
  `ExtensibleJavaScriptStack(AssetSource assetSource, List<StackExtension> configuration)`