Adds crypto wallet balance widget

This commit is contained in:
Alicia Sykes
2022-01-03 12:32:00 +00:00
parent 2ee01f603c
commit 710b3ea7ad
5 changed files with 277 additions and 4 deletions

View File

@@ -57,8 +57,10 @@ const WidgetMixin = {
this.finishLoading();
},
/* Used as v-tooltip, pass text content in, and will show on hover */
tooltip(content) {
return { content, trigger: 'hover focus', delay: 250 };
tooltip(content, html = false) {
return {
content, html, trigger: 'hover focus', delay: 250,
};
},
/* Makes data request, returns promise */
makeRequest(endpoint, options) {