New to Kendo UI for AngularStart a free 30-day trial

PrefixTemplateDirective

Specifies the adornments in the prefix container of the Inputs and DropDowns.

ts
_@Component({
selector: 'my-app',
template: `
 <kendo-textbox>
     <ng-template kendoPrefixTemplate>
         <button kendoButton look="clear" icon="image"></button>
     </ng-template>
 </kendo-textbox>

 <kendo-multiselect [data]="data" [(ngModel)]="value">
     <ng-template kendoPrefixTemplate>
         <button kendoButton look="clear" icon="image"></button>
     </ng-template>
 </kendo-multiselect>
`
})
class AppComponent {}
NameTypeDefaultDescription

showSeparator

boolean

false

Sets the showSeparator attribute of the prefixTemplate.

templateRef

TemplateRef<any>

Constructors

PrefixTemplateDirective

(templateRef: TemplateRef<any>)

Parameters

templateRef

TemplateRef<any>

In this article
ConstructorsPrefixTemplateDirective
Not finding the help you need?
Contact Support