(entry)
| 185 | * @return {!IntersectionObserverEntry} |
| 186 | */ |
| 187 | export function cloneEntryForCrossOrigin(entry) { |
| 188 | return /** @type {!IntersectionObserverEntry} */ ({ |
| 189 | 'time': entry.time, |
| 190 | 'rootBounds': entry.rootBounds, |
| 191 | 'boundingClientRect': entry.boundingClientRect, |
| 192 | 'intersectionRect': entry.intersectionRect, |
| 193 | 'intersectionRatio': entry.intersectionRatio, |
| 194 | }); |
| 195 | } |
nothing calls this directly
no outgoing calls
no test coverage detected