/** * This directive is used to set custom template partial for an item and maintains separate scope for each item. * This takes two inputs * 1) template partial name as wmItemTemplate * 2) item object as userComponentParams * Example: Providing a custom template for the search/autocomplete widget (customized UI in the dropdown for each item) * Add this directive to the li tag and provide item object and partial name like below. And also provide partialContainer and partial-container-target to render the partial. *
  • * *
  • */ import { ElementRef, Injector } from '@angular/core'; import { App } from '@wm/core'; import { StylableComponent } from '../base/stylable.component'; export declare class ItemTemplateDirective extends StylableComponent { private app; static initializeProps: void; context: any; content: any; partialParams: any; nativeElement: HTMLElement; get $index(): any; userComponentParams: any; set wmItemTemplate(value: any); constructor(inj: Injector, elRef: ElementRef, app: App); ngOnInit(): void; }