feat: add observeScrollingInterval in coordinator plugin
This commit is contained in:
12
doric-web/dist/index.js
vendored
12
doric-web/dist/index.js
vendored
@@ -5178,7 +5178,17 @@ function coordinator(context) {
|
||||
context.callNative("coordinator", "verticalScrolling", argument);
|
||||
});
|
||||
}
|
||||
}
|
||||
},
|
||||
observeScrollingInterval: (argument) => {
|
||||
if (context.entity instanceof Panel) {
|
||||
const panel = context.entity;
|
||||
panel.addOnRenderFinishedCallback(() => {
|
||||
argument.scrollable = viewIdChains(argument.scrollable);
|
||||
argument.onScrolledInterval = context.function2Id(argument.onScrolledInterval);
|
||||
context.callNative("coordinator", "observeScrollingInterval", argument);
|
||||
});
|
||||
}
|
||||
},
|
||||
};
|
||||
}
|
||||
|
||||
|
2
doric-web/dist/index.js.map
vendored
2
doric-web/dist/index.js.map
vendored
File diff suppressed because one or more lines are too long
Reference in New Issue
Block a user