Interface TonConnectUiCreateOptionsBase

Hierarchy

Properties

actionsConfiguration?: ActionConfiguration

Configuration for action-period (e.g. sendTransaction) UI elements: modals and notifications and wallet behaviour (return strategy).

buttonRootId?: null | string

HTML element id to attach the wallet connect button. If not passed button won't appear.

Default

null.

enableAndroidBackHandler?: boolean

Specifies whether the Android back button should be used to close modals and notifications on Android devices.

Default

true

language?: Locales

Language for the phrases it the UI elements.

Default

system

restoreConnection?: boolean

Try to restore existing session and reconnect to the corresponding wallet.

Default

true.

uiPreferences?: UIPreferences

UI elements configuration.

walletsListConfiguration?: WalletsListConfiguration

Configuration for the wallets list in the connect wallet modal.

widgetRootId?: string

HTML element id to attach the modal window element. If not passed, div#tc-widget-root in the end of the will be added and used.

Default

div#tc-widget-root.

Generated using TypeDoc