Namespace: ModuleBinding

Oracle® JavaScript Extension Toolkit (JET)
3.2.0

E87541-01

QuickNav

Fields

oj. ModuleBinding

Version:
  • 3.2.0
ojModule Conventions
Source:

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:

oj.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
viewPath string default View path. Defaults to 'text!views/'
viewSuffix string default View suffix. Defaults to '.html'
modelPath string default Model suffix. Defaults to 'viewModels/'
initializeMethod string name of the initialialization method (see definition)
disposeMethod string name of the dispose method (see definition)
activatedHandler string name of the 'activated' event handler (see definition)
attachedHandler string name of the 'attached' event handler (see definition)
detachedHandler string name of the 'detached' event handler (see definition)
bindingsAppliedHandler string name of the 'bindingsApplied' event handler (see definition)
deactivatedHandler string name of the 'deactivated' event handler (see definition)
transitionCompletedHandler string name of the 'transitionCompleted' event handler (see definition)
Source: