Directive providing type information for chat attachment template contexts. Use this directive on ng-template elements that render message attachments.
Example
<ng-template igxChatAttachmentContext let-attachment>
<img [src]="attachment.url" />
</ng-template> Constructors
Section titled "Constructors"IgxChatAttachmentContextDirective
new IgxChatAttachmentContextDirective(): IgxChatAttachmentContextDirective Returns IgxChatAttachmentContextDirective
Methods
Section titled "Methods"ngTemplateContextGuard
Section titled "ngTemplateContextGuard"ngTemplateContextGuard(_: IgxChatAttachmentContextDirective, ctx: unknown): ctx Defined in projects/igniteui-angular/chat/src/chat.component.ts:309
Parameters
- _:
IgxChatAttachmentContextDirective - ctx:
unknown