@aurelia-mdc-web/tree-view
Version:
Wrapper for Material Components Web Tree View
18 lines • 670 B
JavaScript
import { __decorate, __metadata } from "tslib";
import { customAttribute, inject } from 'aurelia-framework';
var MdcTreeViewNOdeMeta = /** @class */ (function () {
function MdcTreeViewNOdeMeta(root) {
this.root = root;
}
MdcTreeViewNOdeMeta.prototype.attached = function () {
this.root.classList.add('mdc-tree-node__meta');
};
MdcTreeViewNOdeMeta = __decorate([
inject(Element),
customAttribute('mdc-tree-node-meta'),
__metadata("design:paramtypes", [HTMLElement])
], MdcTreeViewNOdeMeta);
return MdcTreeViewNOdeMeta;
}());
export { MdcTreeViewNOdeMeta };
//# sourceMappingURL=mdc-tree-node-meta.js.map