Skip to content

Commit 1732b5c

Browse files
committed
Merge pull request #243 from NativeScript/listView-expose-nativeElement
Expose the native view form the ListViewComponent
2 parents f8f8af9 + edb78cc commit 1732b5c

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)