define(["require", "exports"], function (require, exports) {
    "use strict";
    Object.defineProperty(exports, "__esModule", { value: true });
    var TileAbstractController = /** @class */ (function () {
        function TileAbstractController($element) {
            this.$element = $element;
            if ($element) {
                $element.bind('click', this.clickHandler.bind(this));
            }
        }
        TileAbstractController.prototype.clickHandler = function () {
            location.href = this.link;
        };
        return TileAbstractController;
    }());
    exports.TileAbstractController = TileAbstractController;
});
//# sourceMappingURL=tile.abstract.controller.js.map