@aurelia-mdc-web/list
Version:
Wrapper for Material Components Web List
22 lines • 953 B
JavaScript
import { __decorate, __metadata } from "tslib";
import { customAttribute, inject } from 'aurelia-framework';
/**
* Optional. The first tile in the row (in LTR languages, the first column of the list item). Typically an icon or image.
* @selector [mdc-deprecated-list-item-graphic]
*/
var MdcDeprecatedListItemGraphic = /** @class */ (function () {
function MdcDeprecatedListItemGraphic(root) {
this.root = root;
}
MdcDeprecatedListItemGraphic.prototype.attached = function () {
this.root.classList.add('mdc-deprecated-list-item__graphic');
};
MdcDeprecatedListItemGraphic = __decorate([
inject(Element),
customAttribute('mdc-deprecated-list-item-graphic'),
__metadata("design:paramtypes", [HTMLElement])
], MdcDeprecatedListItemGraphic);
return MdcDeprecatedListItemGraphic;
}());
export { MdcDeprecatedListItemGraphic };
//# sourceMappingURL=mdc-deprecated-list-item-graphic.js.map