Skip to content

Commit 0f50863

Browse files
Integrated latest changes at 03-31-2023 4:22:30 PM
1 parent bfc04d1 commit 0f50863

File tree

2 files changed

+2
-4
lines changed

2 files changed

+2
-4
lines changed

ej2-angular/auto-complete/templates.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,7 @@ In the following sample, the list items and its headers are designed and display
8383

8484
## Footer template
8585

86-
The AutoComplete has options to show a footer element at the bottom of the list items in the suggestion list. Here, you can place any custom element as a footer element using [`footerTemplate`](https://ej2.syncfusion.com/angular/documentation/api/auto-complete/#footertemplate) property.
86+
The AutoComplete has options to show a footer element at the bottom of the list items in the suggestion list. Here, you can place any custom element as a footer element using [`footerTemplate`](https://ej2.syncfusion.com/angular/documentation/api/auto-complete/#footertemplate) property.
8787

8888
In the following sample, footer element displays the total number of list items present in the AutoComplete.
8989

ej2-angular/code-snippet/listbox/template-cs1/app/app.component.ts

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11

22

33

4-
import { Component, ChangeDetectorRef } from '@angular/core';
4+
import { Component } from '@angular/core';
55
@Component({
66
selector: 'app-container',
77
templateUrl: 'template.html',
@@ -10,9 +10,7 @@ import { Component, ChangeDetectorRef } from '@angular/core';
1010

1111
export class AppComponent {
1212
public data: { [key: string]: Object }[];
13-
constructor(private cdr: ChangeDetectorRef) {}
1413
ngOnInit():void{
15-
this.cdr.detectChanges();
1614
this.data = [
1715
{ text: 'JavaScript', pic: 'javascript', description: 'It is a lightweight interpreted or JIT-compiled programming language.' },
1816
{ text: 'TypeScript', pic: 'typeScript', description: 'It is a typed superset of Javascript that compiles to plain JavaScript.' },

0 commit comments

Comments
 (0)