Repository URL to install this package:
|
Version:
2.7.6 ▾
|
"use strict";
Object.defineProperty(exports, "__esModule", {
value: true
});
const tslib_1 = require("tslib");
const mobx_1 = require("xmobx/mobx");
class PaymentCardInstance {
constructor() {
this.shouldShowRemoveCard = false;
}
handleRemoveView() {
this.shouldShowRemoveCard = !this.shouldShowRemoveCard;
console.log('Remove Card Visible', this.shouldShowRemoveCard);
}
}
tslib_1.__decorate([mobx_1.observable], PaymentCardInstance.prototype, "shouldShowRemoveCard", void 0);
tslib_1.__decorate([mobx_1.action.bound], PaymentCardInstance.prototype, "handleRemoveView", null);
exports.PaymentCardInstance = PaymentCardInstance; //# sourceMappingURL=state.js.map