@aurelia-mdc-web/list
Version:
Wrapper for Material Components Web List
25 lines • 1.27 kB
JavaScript
define(["require", "exports", "tslib", "aurelia-framework"], function (require, exports, tslib_1, aurelia_framework_1) {
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.MdcDeprecatedListItemGraphic = void 0;
/**
* 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