UNPKG

@skyux/layout

Version:

This library was generated with [Nx](https://nx.dev).

25 lines (24 loc) 1.18 kB
import { SkyLogService } from '@skyux/core'; import { SkyDefinitionListService } from './definition-list.service'; import * as i0 from "@angular/core"; /** * Creates a definition list to display label-value pairs. * @deprecated Use `SkyDescriptionListComponent` instead. */ export declare class SkyDefinitionListComponent { service: SkyDefinitionListService; /** * The width of the label portion of the definition list. * @default "90px" */ set labelWidth(value: string | undefined); /** * The default value to display when no value is provided * for a label-value pair. * @default "None found" */ set defaultValue(value: string | undefined); constructor(service: SkyDefinitionListService, logger: SkyLogService); static ɵfac: i0.ɵɵFactoryDeclaration<SkyDefinitionListComponent, never>; static ɵcmp: i0.ɵɵComponentDeclaration<SkyDefinitionListComponent, "sky-definition-list", never, { "labelWidth": { "alias": "labelWidth"; "required": false; }; "defaultValue": { "alias": "defaultValue"; "required": false; }; }, {}, never, ["sky-definition-list-heading", "sky-definition-list-content"], false, never>; }