UNPKG

xrm-mock

Version:

A fake implementation of the Xrm object model. Used for testing Dynamics 365 client-side scripts.

20 lines 716 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.ViewSelectorMock = void 0; var ViewSelectorMock = /** @class */ (function () { function ViewSelectorMock(isVisible) { this.visible = isVisible; } ViewSelectorMock.prototype.getCurrentView = function () { return this.currentView; }; ViewSelectorMock.prototype.setCurrentView = function (viewSelectorItem) { this.currentView = viewSelectorItem; }; ViewSelectorMock.prototype.isVisible = function () { return this.visible; }; return ViewSelectorMock; }()); exports.ViewSelectorMock = ViewSelectorMock; //# sourceMappingURL=viewselector.mock.js.map