Class Picker

Picker is the top level object representing the UI action with the user. These objects are not created directly, but instead use the PickerBuilder class.

Signature

export class Picker

Details

Final No

Methods

Name Description
dispose() Disposes the Picker object.
isVisible() Get a boolean indicating the current Picker visibility.
setCallback(method) Specify the callback method called whenever the user has selected an item (or canceled.)
setRelayUrl(url) Specify a relay URL to circumvent cross-domain issues.
setVisible(visible) Control the visibility of the Picker object.