Namespace: ModuleBinding

Oracle® JavaScript Extension Toolkit (JET)
17.0.0

F92240-01

Since:
  • 1.1
Module:
  • ojmodule

Note: This namespace is deprecated since 9.0.0. Replace ModuleBinding and ojModule with oj-module element.

QuickNav

Fields

Description

ojModule Conventions


Usage

For additional information visit:


ojModule Conventions

Fields

(static) defaults

Default configuration values ojModule binding's conventions may be overridden for the entire application after the ojs/ojmodule module is loaded. For example:

ModuleBinding.defaults.modelPath = 'models/';

Note that the default names of the optional lifecycle methods on the ViewModel are different from their counterparts on the LifecycleListener interface
Properties:
Name Type Description
activatedHandler string name of the 'activated' event handler (see definition)
attachedHandler string name of the 'attached' event handler (see definition)
bindingsAppliedHandler string name of the 'bindingsApplied' event handler (see definition)
deactivatedHandler string name of the 'deactivated' event handler (see definition)
detachedHandler string name of the 'detached' event handler (see definition)
disposeMethod string name of the dispose method (see definition)
initializeMethod string name of the initialialization method (see definition)
modelPath string default Model suffix. Defaults to 'viewModels/'
transitionCompletedHandler string name of the 'transitionCompleted' event handler (see definition)
viewPath string default View path. Defaults to 'text!views/'
viewSuffix string default View suffix. Defaults to '.html'