OrbPro2 a Cesium distribution

WalletWidgetViewModel

new Cesium.WalletWidgetViewModel()

The view model for WalletWidget.

Members

Gets the command to close the modal.
Gets or sets the display name for the logged in user. This property is observable.
Gets or sets whether the user is logged in. This property is observable.
Event raised when the user logs in.
Gets the command to log out.
Event raised when the user logs out.
Gets the shortened wallet address for display.
Gets or sets whether the wallet modal is visible. This property is observable.
Gets the command to toggle the modal visibility.
Gets the tooltip text. This property is observable.
Gets or sets the wallet address when logged in. This property is observable.

Methods

Destroys the view model.
Returns:
true if the object has been destroyed, false otherwise.
Logs the user in with the given wallet information.
Name Type Description
options object Login options.
Name Type Description
address string The wallet address.
displayName string optional Optional display name.
Need help? The fastest way to get answers is from the community and team on the Cesium Forum.