Skip to content

Commit e17f05f

Browse files
committed
Update viewport type
1 parent b860d96 commit e17f05f

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

reference/scenegraph.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2229,7 +2229,8 @@ The type of scrolling: one of ScrollableGroup.VERTICAL, HORIZONTAL and PANNING.
22292229

22302230
<a name="ScrollableGroup-viewport"></a>
22312231

2232-
### ScrollableGroup.viewport : <code>string</code>
2232+
### ScrollableGroup.viewport : <code>!{viewportWidth: number, offsetX: number} | {viewportHeight: number, offsetY: number} |
2233+
{viewportWidth: number, offsetX: number, viewportHeight: number, offsetY: number}}</code>
22332234
The viewport is a rectangle whose bounds are defined explicitly on scrolling axes and fit automatically to the
22342235
content on non-scrolling axes:
22352236
* On a scrolling axis, the bounds are specified in {@link core/coordinate-spaces-and-units.md local coordinates}

0 commit comments

Comments
 (0)