UNPKG

aurelia-materialize-bridge

Version:
23 lines 740 B
import { __decorate, __metadata } from "tslib"; import * as au from "../aurelia"; var MdChip = /** @class */ (function () { function MdChip(element) { this.element = element; this.hasClose = false; } MdChip.prototype.closeChip = function () { this.element.parentElement.removeChild(this.element); au.fireEvent(this.element, "close"); }; __decorate([ au.ato.bindable.booleanMd, __metadata("design:type", Boolean) ], MdChip.prototype, "hasClose", void 0); MdChip = __decorate([ au.autoinject, __metadata("design:paramtypes", [Element]) ], MdChip); return MdChip; }()); export { MdChip }; //# sourceMappingURL=chip.js.map