JavaScript Extension Development API for Oracle Visual Builder Cloud Service - Classic Applications

Object Literal: components.dt/js/spi/creators/DropPopupController.DropCustomizer

An object providing methods called when a popup state changes, when the popup is opened and painted or closed and dismissed.

Version:
  • 16.3.5
Source:
See:

Methods

closed(accepted) → {Promise}

stable API

Called when the popup is closed and dismissed.

Must be implemented in descendants.

You may want to do some cleanup or update the view's properties here depending on the accepted parameter.

Parameters:
Name Type Description
accepted Booolean

flag indicating if the popup was accepted or canceled by user.

Version:
  • 16.3.5
Source:
Returns:

a promise resolved to the final view. Some drop customizers may completely exchange the previously created view for a new one. When that happens resolve the promise with the new view instance.

Type
Promise

opened()

stable API

Called when the popup is opened and rendered.

You may want to do some init logic here such as setting focus to preferred input fields etc.

Version:
  • 16.3.5
Source: