A widget for crypto wallet login functionality.
Displays a wallet icon when logged out and a user icon when logged in.
Clicking the button opens a modal for wallet connection or account management.
| Name | Type | Description | ||||||
|---|---|---|---|---|---|---|---|---|
container |
Element | string | The DOM element or ID that will contain the widget. | ||||||
options |
object |
optional
Configuration options.
|
Throws:
-
DeveloperError : Element with id "container" does not exist in the document.
Members
Gets the parent container.
Gets the view model.
Methods
Destroys the widget.
Returns:
true if the object has been destroyed, false otherwise.