Skip to content

Commit 96f017b

Browse files
committed
Clarify documentation
1 parent 010ff33 commit 96f017b

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

specification/draft/apps.mdx

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -458,13 +458,13 @@ interface HostContext {
458458
availableDisplayModes?: string[];
459459
/** Current and maximum dimensions available to the UI. */
460460
viewport?: {
461-
/** Current viewport width in pixels. */
461+
/** Viewport width (if fixed). Only pass width or maxWidth, not both. */
462462
width?: number;
463-
/** Current viewport height in pixels. */
463+
/** Viewport height (if fixed). Only pass height or maxHeight, not both. */
464464
height?: number;
465-
/** Maximum available height in pixels (if constrained). */
465+
/** Maximum available viewport height in pixels (if constrained). */
466466
maxHeight?: number;
467-
/** Maximum available width in pixels (if constrained). */
467+
/** Maximum available viewport width in pixels (if constrained). */
468468
maxWidth?: number;
469469
};
470470
/** User's language/region preference (BCP 47, e.g., "en-US") */

0 commit comments

Comments
 (0)