Class: QRCodeModal
Constructors
constructor
• new QRCodeModal(options?
): QRCodeModal
Constructor for the DPMWalletConnectModal.
Parameters
Name | Type | Description |
---|---|---|
options? | DPMWalletConnectModalOptions | Options to customize the DPMWalletConnectModal. |
Returns
Defined in
packages/walletconnect-modal/build/index.d.ts:19
Properties
options
• Private
Readonly
options: any
Defined in
packages/walletconnect-modal/build/index.d.ts:14
Methods
close
▸ close(): void
Returns
void
Defined in
packages/walletconnect-modal/build/index.d.ts:28
open
▸ open(uri
, onClose
): void
Function to open the modal and display the QR code that the user need to scan in order to start the WalletConnect session.
Parameters
Name | Type | Description |
---|---|---|
uri | string | The URI to start the WalletConnect session. |
onClose | () => void | The callback that will be called if the user closes the modal. |
Returns
void
Defined in
packages/walletconnect-modal/build/index.d.ts:27