We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1d45d9e commit ee0db99Copy full SHA for ee0db99
1 file changed
packages/actions/intersect/src/intersect.ts
@@ -82,13 +82,16 @@ export interface IntersectDetail {
82
* </script>
83
*
84
* <section
85
+ * use:intersect={{ threshold: 0.4 }}
86
+ * on:intersect={onIntersect}
87
+ * >
88
* >
89
* <p>
90
* A section that reacts to when scrolling in view (intersecting === true)
91
* and scrolling out of view (intersecting === false)
92
* </p>
93
* {#if intersecting !== undefined}
- * <p class="self-end">Scrolling {intersecting ? 'into view' : 'out of view'}...</p>
94
+ * <p>Scrolling {intersecting ? 'into view' : 'out of view'}...</p>
95
* {/if}
96
* </section
97
* ```
0 commit comments