Skip to content

FlexRenderComponentInstance

Defined in: packages/angular-table/src/flex-render/flexRenderComponent.ts:297

Wrapper class for a component that will be used as content for FlexRenderDirective

Prefer flexRenderComponent for better type-safety.

Type Parameters

TComponent

TComponent = any

Implements

Constructors

Constructor

ts
new FlexRenderComponentInstance<TComponent>(
   component,
   inputs?,
   injector?,
   outputs?,
   directives?,
   bindings?,
key?): FlexRenderComponentInstance<TComponent>;

Defined in: packages/angular-table/src/flex-render/flexRenderComponent.ts:303

Parameters

component

Type<TComponent>

inputs?

Inputs<TComponent>

injector?

Injector

outputs?

Outputs<TComponent>

directives?

(Type<unknown> | DirectiveWithBindings<unknown>)[]

bindings?

Binding[]

key?

string | number

Returns

FlexRenderComponentInstance<TComponent>

Properties

bindings?

ts
readonly optional bindings?: Binding[];

Defined in: packages/angular-table/src/flex-render/flexRenderComponent.ts:309

Bindings to apply to the root component

See

FlexRenderOptions#bindings

Implementation of

FlexRenderComponent.bindings


component

ts
readonly component: Type<TComponent>;

Defined in: packages/angular-table/src/flex-render/flexRenderComponent.ts:304

The component type

Implementation of

FlexRenderComponent.component


directives?

ts
readonly optional directives?: (Type<unknown> | DirectiveWithBindings<unknown>)[];

Defined in: packages/angular-table/src/flex-render/flexRenderComponent.ts:308

Directives that should be applied to the component.

See

Implementation of

FlexRenderComponent.directives


injector?

ts
readonly optional injector?: Injector;

Defined in: packages/angular-table/src/flex-render/flexRenderComponent.ts:306

Optional Injector that will be used when rendering the component.

See

FlexRenderOptions#injector

Implementation of

FlexRenderComponent.injector


inputs?

ts
readonly optional inputs?: Inputs<TComponent>;

Defined in: packages/angular-table/src/flex-render/flexRenderComponent.ts:305

Component instance inputs. Set via componentRef.setInput API)

See

FlexRenderOptions#inputs

Implementation of

FlexRenderComponent.inputs


key?

ts
readonly optional key?: string | number;

Defined in: packages/angular-table/src/flex-render/flexRenderComponent.ts:310

Optional identity used together with the component type to decide whether an existing component instance can be reused.

See

FlexRenderOptions#key

Implementation of

FlexRenderComponent.key


metadata

ts
readonly metadata: ResolvedComponentMetadata<TComponent>;

Defined in: packages/angular-table/src/flex-render/flexRenderComponent.ts:301

Cached component metadata used by the flex renderer.

Implementation of

FlexRenderComponent.metadata


mirror

ts
readonly mirror: ComponentMirror<TComponent>;

Defined in: packages/angular-table/src/flex-render/flexRenderComponent.ts:300

Reflected metadata about the component.

Implementation of

FlexRenderComponent.mirror


outputs?

ts
readonly optional outputs?: Outputs<TComponent>;

Defined in: packages/angular-table/src/flex-render/flexRenderComponent.ts:307

Component instance outputs. Subscribed via OutputEmitterRef#subscribe

See

FlexRenderOptions#outputs

Implementation of

FlexRenderComponent.outputs