Namespace: BindingProvider

Oracle® JavaScript Extension Toolkit (JET)
7.1.0

F18183-01

QuickNav


PREVIEW: This is a preview API. Preview APIs are production quality, but can be changed on a major version without a deprecation path.

BindingProvider

Version:
  • 7.1.0
Since:
  • 6.1.0
Module:
  • ojbindingprovider

Module usage

See JET Module Loading for an overview of module usage within JET.

Javascript Import Format
define(['ojs/ojbindingprovider'], function(BindingProvider) {
 // Application should call API on BindingProvider 
})
Typescript Import Format
//This namespace exports multiple static methods or members. To import 
import * as BindingProvider from "ojbindingprovider";

//Now you can access the methods as BindingProvider.methodName and so on

JET In Typescript

A detailed description of working with JET elements and classes in your typescript project can be found at: JET Typescript Usage.

Utility class with functions for interacting with the JET binding provider.

Methods

(static) createBindingExpressionEvaluator(expressionText, binding) → {function(object):any}

Creates an expression evaluator.
Parameters:
Name Type Description
expressionText string The inner expression text not including any decorator characters that identifies the string as an expression.
binding Object context where the expression will be evaluated
Returns:
An evaluator function that will take binding (data) context as a parameter
Type
function(object):any