(function (factory) { if (typeof module === "object" && typeof module.exports === "object") { var v = factory(require, exports); if (v !== undefined) module.exports = v; } else if (typeof define === "function" && define.amd) { define(["require", "exports", "@angular/core", "./item-reorder-util"], factory); } })(function (require, exports) { "use strict"; Object.defineProperty(exports, "__esModule", { value: true }); var core_1 = require("@angular/core"); var item_reorder_util_1 = require("./item-reorder-util"); /** * @hidden */ var Reorder = (function () { function Reorder(elementRef) { this.elementRef = elementRef; elementRef.nativeElement['$ionComponent'] = this; } Reorder.prototype.getReorderNode = function () { return item_reorder_util_1.findReorderItem(this.elementRef.nativeElement, null); }; Reorder.prototype.onClick = function (ev) { // Stop propagation if click event reaches ion-reorder ev.preventDefault(); ev.stopPropagation(); }; Reorder.decorators = [ { type: core_1.Component, args: [{ selector: 'ion-reorder', template: "" },] }, ]; /** @nocollapse */ Reorder.ctorParameters = function () { return [ { type: core_1.ElementRef, }, ]; }; Reorder.propDecorators = { 'onClick': [{ type: core_1.HostListener, args: ['click', ['$event'],] },], }; return Reorder; }()); exports.Reorder = Reorder; }); //# sourceMappingURL=reorder.js.map