Why Gemfury? Push, build, and install  RubyGems npm packages Python packages Maven artifacts PHP packages Go Modules Debian packages RPM packages NuGet packages

Repository URL to install this package:

Details    
Size: Mime:
"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