Package org.apache.tapestry5.services.javascript
package 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.
-
ClassDescriptionUsed to wrap plain JavaScript libraries as AMD modules.Constants related to client-side behaviors; generally, these are attributes added to elements on the server side to trigger behaviors on the client-side.An extensible implementation of
JavaScriptStackthat can be used as the implementation of a service.Provided byJavaScriptSupport.require(String)to allow additional, optional, details of the module-based page initialization to be configured.Sets the priority for JavaScript initialization scripting.Used withJavaScriptStackto identify how libraries and modules within the stack can be aggregated.Used to define a module shim, used to adapt non-AMD JavaScript libraries to operate like proper modules.A high level description of a group of related JavaScript libraries and stylesheets.Manages the availableJavaScriptStacks, each of which has a unique name.The JavaScriptSupport environmental is very stateful, accumulating JavaScript stacks, libraries and initialization code until the end of the main page render; it then updates the rendered DOM (adding <script> tags to the <head> and <body>) before the document is streamed to the client.Used to change the configuration object which will be used to configure RequireJS; callbacks can modify and override the configuration after it was created by theModuleManagerservice based on contributedJavaScriptModuleConfigurations.Responsible for managing access to the JavaScript modules.A contribution to an extensibleJavaScriptStack.Defines the types of extensions to a JavaScript stack that can be contributed to an extensible JavaScript stack.Captures the information needed to create a stylesheet link in the finalDocument, or as part of a JSON partial page render response.Provides options to describe options associated with importing a stylesheet onto a page.