aurelia-materialize-bridge
Version:
Aurelia interface to http://materializecss.com/
23 lines • 740 B
JavaScript
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