create transaction with type and wallet id when comming from wallet page

This commit is contained in:
Fran Jurmanović
2021-06-13 14:29:53 +02:00
parent 94e45bf33b
commit 7596c832d7
13 changed files with 246 additions and 79 deletions

View File

@@ -7,6 +7,7 @@ class BasePageElement extends BaseElement {
public pageTitle: string = '';
@attr hidetitle: string;
@attr customtitle: string;
private _data: any;
constructor(options: OptionType) {
super();
if (options?.title) {
@@ -34,6 +35,14 @@ class BasePageElement extends BaseElement {
this.appMain.setTitle(this.pageTitle);
super.connectedCallback();
}
setData = (data: any) => {
this._data = data;
};
getData = () => {
return this._data;
};
}
export default BasePageElement;