Skip to content

Commit edb78cc

Browse files
committed
Expose the native view form the ListViewComponent
1 parent 1780dc7 commit edb78cc

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

src/nativescript-angular/directives/list-view-comp.ts

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -48,6 +48,10 @@ export interface SetupItemViewArgs {
4848
inputs: ['items']
4949
})
5050
export class ListViewComponent {
51+
public get nativeElement(): ListView {
52+
return this.listView;
53+
}
54+
5155
private listView: ListView;
5256
private _items: any;
5357
private _differ: IterableDiffer;

0 commit comments

Comments
 (0)