All Components

ItemTemplateDirective

The itemTemplate directive is used for rendering the list item content.

@Component({
selector: 'my-app',
template: `
 <kendo-combobox [data]="listItems">
   <template itemTemplate let-dataItem>
     <span>{{dataItem}} option</span>
   </template>
 </kendo-combobox>
`
})
class AppComponent {
  public listItems: Array<string> = ["Item 1", "Item 2", "Item 3", "Item 4"];
}

For more examples, refer to Templates.

Selector

[itemTemplate]

In this article