Roman Volosovskyi e8c462d7ba statusAPI in webview
Former-commit-id: effadc6d5f4127a839afd625197a0138ffd06cd6
2016-08-23 17:03:42 +03:00

21 lines
375 B
JavaScript

function wallet() {
var url = 'http://127.0.0.1:3450';
return {webViewUrl: url};
}
status.command({
name: "wallet",
description: "wallet",
color: "#ffa500",
fullscreen: true,
suggestionsTrigger: 'on-send',
params: [{
name: "webpage",
suggestions: wallet,
type: status.types.TEXT
}]
});
status.autorun("wallet");