File tree Expand file tree Collapse file tree 1 file changed +4
-2
lines changed
src/collectionview/svelte Expand file tree Collapse file tree 1 file changed +4
-2
lines changed Original file line number Diff line number Diff line change @@ -37,10 +37,10 @@ class SvelteKeyedTemplate {
3737 // it will trigger uncessary {N} component updates because the parent view is already attached
3838
3939 ( nativeEl as any ) . __SvelteComponentBuilder__ = ( parentView , props ) => {
40- profile ( '__SvelteComponentBuilder__' , ( ) => {
40+ profile ( 'createView. __SvelteComponentBuilder__' , ( ) => {
4141 ( nativeEl as any ) . __SvelteComponent__ = new this . component ( {
4242 target : parentView ,
43- props,
43+ props
4444 } ) ;
4545 } ) ( ) ;
4646 } ;
@@ -114,6 +114,8 @@ export default class CollectionViewViewElement extends NativeViewElementNode<Col
114114 this . nativeView . removeTemplate ( key ) ;
115115 }
116116 }
117+
118+ @profile
117119 private updateListItem ( args : ItemEventData & { bindingContext } ) {
118120 const _view = args . view ;
119121 const props = { item : args . bindingContext , index : args . index } ;
You can’t perform that action at this time.
0 commit comments