Skip to content
Permalink
Branch: master
Find file Copy path
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
44 lines (27 sloc) 709 Bytes

Display

showWallet

Pops up the Torus Wallet app for the user to view. This method is synchronous

torus.showWallet(path);

Parameters

  • path - enum : The route of torus website to open in the popup. Supported options are transfer topup home settings history

Examples

torus.showWallet(); // default: 'home'
torus.showWallet("transfer"); // default: 'home'

showTorusButton

Shows the Torus Button to the user. This method is synchronous

Examples

torus.showTorusButton();

hideTorusButton

Hides the Torus default button from the user

Examples

torus.hideTorusButton();
You can’t perform that action at this time.