Global

Methods

We should not ever really use the Modal. Modals are like popups, but the key difference is that the customer can't actually verify it's app domain and thus secure/valid. Old PP sdk (./src/paypal) uses this to get info from webviews (e.g. facebook).

Source:

Type Definitions

callback(erropt, nullable, dataopt, nullable) → {void}

The Node.js-style callback pattern used throughout the SDK.

Parameters:
Name Type Attributes Description
err BraintreeError <optional>
<nullable>

null or undefined if there was no error.

data any <optional>
<nullable>

The successful result of the asynchronous function call (if data exists).

Source: