@@ -2203,7 +2203,7 @@ You can call this API from either of _two different edit contexts_:
22032203** Kind** : class
22042204** Extends** : [ <code >SceneNode</code >] ( #SceneNode )
22052205
2206- ScrollableGroup nodes are content that users can interactively scroll around. Content is viewed through a { @ link viewport} ,
2206+ ScrollableGroup nodes are content that users can interactively scroll around. Content is viewed through a [ viewport] ( #ScrollableGroup-viewport ) ,
22072207with everything else clipped. If a ScrollableGroup is set to only scroll on one axis, on the other axis the viewport is
22082208automatically sized to exactly fit the bounds of the content so nothing is clipped.
22092209
@@ -2232,14 +2232,14 @@ The type of scrolling: one of ScrollableGroup.VERTICAL, HORIZONTAL and PANNING.
22322232### ScrollableGroup.viewport : <code >!{viewportWidth: number, offsetX: number} | {viewportHeight: number, offsetY: number} | {viewportWidth: number, offsetX: number, viewportHeight: number, offsetY: number}}</code >
22332233The viewport is a rectangle whose bounds are defined explicitly on scrolling axes and fit automatically to the
22342234content on non-scrolling axes:
2235- * On a scrolling axis, the bounds are specified in { @ link core/coordinate-spaces-and-units.md local coordinates}
2235+ * On a scrolling axis, the bounds are specified in [ local coordinates ] ( /reference/ core/coordinate-spaces-and-units.md)
22362236using the ` viewport ` values specified here.
22372237* On a non-scrolling axis, the bounds are automatically calculated to exactly fit the content (just like the blue
22382238selection rectangle seen when you select a plain Group).
22392239
22402240For example, if scrollingType == VERTICAL, the top of the viewport is ` viewport.offsetY ` in the ScrollableGroup's
22412241local coordinates, the bottom of the viewport is ` viewport.offsetY + viewport.viewportHeight ` in local coordinates,
2242- and horizontally there is no viewport clipping -- the entire current { @ link localBounds} range is visible. The
2242+ and horizontally there is no viewport clipping -- the entire current [ localBounds] ( #SceneNode-localBounds ) range is visible. The
22432243` viewport ` object will only contain ` offsetY ` and ` viewportHeight ` properties in this case.
22442244
22452245** Kind** : instance property of [ <code >ScrollableGroup</code >] ( #ScrollableGroup )
0 commit comments