UNPKG

@skyux/layout

Version:

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

40 lines (39 loc) 1.95 kB
import { AfterViewInit, ChangeDetectorRef, ElementRef, TemplateRef } from '@angular/core'; import { SkyLibResourcesService } from '@skyux/i18n'; import { SkyTextExpandRepeaterAdapterService } from './text-expand-repeater-adapter.service'; import { SkyTextExpandRepeaterListStyleType } from './types/text-expand-repeater-list-style-type'; import * as i0 from "@angular/core"; export declare class SkyTextExpandRepeaterComponent implements AfterViewInit { #private; /** * The data to truncate. */ set data(value: any[] | undefined); get data(): any[] | undefined; /** * The template for items in the list. */ itemTemplate: TemplateRef<unknown> | undefined; /** * The style of bullet to use * @default "unordered" */ listStyle: SkyTextExpandRepeaterListStyleType | undefined; /** * The number of items to display before truncating the list. If not supplied, all items are shown. */ set maxItems(value: number | undefined); get maxItems(): number | undefined; buttonText: string; expandable: boolean; contentSectionId: string; isExpanded: boolean | undefined; transitionHeight: number; containerEl: ElementRef | undefined; constructor(resources: SkyLibResourcesService, elRef: ElementRef, textExpandRepeaterAdapter: SkyTextExpandRepeaterAdapterService, changeDetector: ChangeDetectorRef); ngAfterViewInit(): void; animationEnd(): void; repeaterExpand(): void; static ɵfac: i0.ɵɵFactoryDeclaration<SkyTextExpandRepeaterComponent, never>; static ɵcmp: i0.ɵɵComponentDeclaration<SkyTextExpandRepeaterComponent, "sky-text-expand-repeater", never, { "data": { "alias": "data"; "required": false; }; "itemTemplate": { "alias": "itemTemplate"; "required": false; }; "listStyle": { "alias": "listStyle"; "required": false; }; "maxItems": { "alias": "maxItems"; "required": false; }; }, {}, never, never, false, never>; }