Class: DataSource
Oracle® Fusion Middleware Oracle JavaScript Extension Toolkit (JET)
12c (12.1.4)
E54107-01
Constructor
new DataSource(data)
Parameters:
Name |
Type |
Description |
data |
Object
|
data supported by the components |
Properties:
Name |
Type |
Description |
data |
Object
|
data supported by the components |
- Source:
Methods
-
handleEvent(eventType, event)
-
Handle the event
Parameters:
Name |
Type |
Description |
eventType |
string
|
event type |
event |
Object
|
event |
- Source:
-
Init()
-
Initializes the instance.
- Source:
-
off(eventType, eventHandler)
-
Detach an event handler from the datasource
Parameters:
Name |
Type |
Description |
eventType |
string
|
eventType supported by the datasource |
eventHandler |
function(Object)
|
event handler function |
- Source:
-
on(eventType, eventHandler)
-
Attach an event handler to the datasource
Parameters:
Name |
Type |
Description |
eventType |
string
|
eventType supported by the datasource |
eventHandler |
function(Object)
|
event handler function |
- Source: