MCPcopy Create free account
hub / github.com/UI5/webcomponents / getIntersectionObserver

Method getIntersectionObserver

packages/compat/src/Table.ts:1111–1121  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

1109 }
1110
1111 getIntersectionObserver(): IntersectionObserver {
1112 if (!this.growingIntersectionObserver) {
1113 this.growingIntersectionObserver = new IntersectionObserver(this.onInteresection.bind(this), {
1114 root: document,
1115 rootMargin: "0px",
1116 threshold: 1.0,
1117 });
1118 }
1119
1120 return this.growingIntersectionObserver;
1121 }
1122
1123 get growsWithButton(): boolean {
1124 return this.growing === TableGrowingMode.Button;

Callers 3

onEnterDOMMethod · 0.95
onInvalidationMethod · 0.95
observeTableEndMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected