@aurelia-mdc-web/list
Version:
Wrapper for Material Components Web List
25 lines • 1.15 kB
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
exports.MdcDeprecatedListItemGraphic = void 0;
var tslib_1 = require("tslib");
var aurelia_framework_1 = require("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 = tslib_1.__decorate([
(0, aurelia_framework_1.inject)(Element),
(0, aurelia_framework_1.customAttribute)('mdc-deprecated-list-item-graphic'),
tslib_1.__metadata("design:paramtypes", [HTMLElement])
], MdcDeprecatedListItemGraphic);
return MdcDeprecatedListItemGraphic;
}());
exports.MdcDeprecatedListItemGraphic = MdcDeprecatedListItemGraphic;
//# sourceMappingURL=mdc-deprecated-list-item-graphic.js.map