File

lib/common/src/items/expose-template.component.ts

Index

Properties
Methods

Methods

ngAfterViewInit
ngAfterViewInit()
Returns : void

Properties

Public itemLabelTemplate
Type : TemplateRef<any>
Decorators :
@ViewChild(TemplateRef, {static: true})
import 	{
			Component,
			ViewChild,
			TemplateRef,
		} 									from '@angular/core'

@Component({
	template: ''
})
export class ExposeTemplateComponent{
	@ViewChild(TemplateRef, {static: true})
	public itemLabelTemplate! : TemplateRef<any>

	ngAfterViewInit(){
		if(!this.itemLabelTemplate) throw "ItemLabel missing #itemLabelTemplate."
	}
}
Legend
Html element
Component
Html element with directive

results matching ""

    No results matching ""