@blackbaud/skyux
Version:
SKY UX built on Angular 2
22 lines • 1.12 kB
JavaScript
import { ChangeDetectionStrategy, Component } from '@angular/core';
import { SkyDefinitionListService } from './definition-list.service';
var SkyDefinitionListLabelComponent = (function () {
function SkyDefinitionListLabelComponent(service) {
this.service = service;
}
return SkyDefinitionListLabelComponent;
}());
export { SkyDefinitionListLabelComponent };
SkyDefinitionListLabelComponent.decorators = [
{ type: Component, args: [{
selector: 'sky-definition-list-label',
template: "<div\n class=\"sky-field-label sky-definition-list-label\"\n [ngStyle]=\"{\n 'width': (service.labelWidth | async) || ''\n }\"\n>\n <ng-content></ng-content>\n</div>\n",
styles: [".sky-definition-list-label{margin-right:10px;width:90px;word-wrap:break-word}\n"],
changeDetection: ChangeDetectionStrategy.OnPush
},] },
];
/** @nocollapse */
SkyDefinitionListLabelComponent.ctorParameters = function () { return [
{ type: SkyDefinitionListService, },
]; };
//# sourceMappingURL=definition-list-label.component.js.map