UNPKG

@taiga-ui/core

Version:

Core library for creating Angular components and applications using Taiga UI

17 lines (16 loc) 978 B
import { InjectionToken, type Provider, type TemplateRef, type Type } from '@angular/core'; import { type TuiContext } from '@taiga-ui/cdk/types'; import { type PolymorpheusContent } from '@taiga-ui/polymorpheus'; import * as i0 from "@angular/core"; /** * Content for tuiOption component */ export declare const TUI_OPTION_CONTENT: InjectionToken<Type<any> | PolymorpheusContent<TuiContext<TemplateRef<Record<string, unknown>>>>>; export declare function tuiAsOptionContent(useValue: PolymorpheusContent<TuiContext<TemplateRef<Record<string, unknown>>>> | Type<any>): Provider; export declare class TuiWithOptionContent { protected readonly localContent: Type<any> | null; protected readonly globalContent: Type<any> | null; get content(): Type<any> | null; static ɵfac: i0.ɵɵFactoryDeclaration<TuiWithOptionContent, never>; static ɵdir: i0.ɵɵDirectiveDeclaration<TuiWithOptionContent, never, never, {}, {}, ["localContent"], never, true, never>; }