# Uses of Enum
org.apache.tapestry5.services.javascript.InitializationPriority

Packages that use InitializationPriority
Package
Description
org.apache.tapestry5.internal.services
[INTERNAL USE ONLY] internal service classes; API subject to change
org.apache.tapestry5.internal.services.ajax
[INTERNAL USE ONLY] AJAX support services; API subject to change
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 InitializationPriority in org.apache.tapestry5.internal.services

  Methods in org.apache.tapestry5.internal.services with parameters of type InitializationPriority
  Modifier and Type
  Method
  Description
  `void`
  DocumentLinker.`addInitialization(InitializationPriority priority, String moduleName, String functionName, JSONArray arguments)`
  Adds initialization, based on invoking functions exported by JavaScript modules.
  `void`
  DocumentLinkerImpl.`addInitialization(InitializationPriority priority, String moduleName, String functionName, JSONArray arguments)`
  `void`
  ModuleInitsManager.`addInitialization(InitializationPriority priority, String moduleName, String functionName, JSONArray arguments)`
  `void`
  PartialMarkupDocumentLinker.`addInitialization(InitializationPriority priority, String moduleName, String functionName, JSONArray arguments)`
  `void`
  DocumentLinker.`addScript(InitializationPriority priority, String script)`
  Adds JavaScript code.
  `void`
  DocumentLinkerImpl.`addScript(InitializationPriority priority, String script)`
  `void`
  PartialMarkupDocumentLinker.`addScript(InitializationPriority priority, String script)`

- ## Uses of InitializationPriority in org.apache.tapestry5.internal.services.ajax

  Methods in org.apache.tapestry5.internal.services.ajax with parameters of type InitializationPriority
  Modifier and Type
  Method
  Description
  `void`
  JavaScriptSupportImpl.`addInitializerCall(InitializationPriority priority, String functionName, String parameter)`
  `void`
  JavaScriptSupportImpl.`addInitializerCall(InitializationPriority priority, String functionName, JSONArray parameter)`
  `void`
  JavaScriptSupportImpl.`addInitializerCall(InitializationPriority priority, String functionName, JSONObject parameter)`
  `void`
  JavaScriptSupportImpl.`addScript(InitializationPriority priority, String format, Object... arguments)`

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

  Methods in org.apache.tapestry5.services.javascript that return InitializationPriority
  Modifier and Type
  Method
  Description
  `static InitializationPriority`
  InitializationPriority.`valueOf(String name)`
  Returns the enum constant of this type with the specified name.
  `static InitializationPriority[]`
  InitializationPriority.`values()`
  Returns an array containing the constants of this enum type, in the order they are declared.
  Methods in org.apache.tapestry5.services.javascript with parameters of type InitializationPriority
  Modifier and Type
  Method
  Description
  `void`
  JavaScriptSupport.`addInitializerCall(InitializationPriority priority, String functionName, String parameter)`
  Deprecated.
  Deprecated in 5.4; refactor to use JavaScript modules instead
  `void`
  JavaScriptSupport.`addInitializerCall(InitializationPriority priority, String functionName, JSONArray parameter)`
  Deprecated.
  Deprecated in 5.4; refactor to use JavaScript modules instead
  `void`
  JavaScriptSupport.`addInitializerCall(InitializationPriority priority, String functionName, JSONObject parameter)`
  Deprecated.
  Deprecated in 5.4; refactor to use JavaScript modules instead
  `void`
  JavaScriptSupport.`addScript(InitializationPriority priority, String format, Object... arguments)`
  Deprecated.
  Deprecated in 5.4; refactor to use JavaScript modules instead
  `Initialization`
  Initialization.`priority(InitializationPriority priority)`
  Changes the initialization priority of the initialization from its default, `NORMAL`.