API reference
Every public class, method, and event in @codexo/exojs. Generated from source.
interfaceResponsiveCanvasSizingOptions
@codexo/exojs / core / stable
1
props
0
methods
0
events
Import
import { ResponsiveCanvasSizingOptions } from '@codexo/exojs'Properties1
minAspect?: numberHow far the logical view may be narrowed relative to the base view before the extra world is opened up vertically instead, as a width/height ratio. Defaults to the base aspect ratio, which crops nothing: every host narrower than the base ratio shows the full base width and gains vertical world. A smaller value lets the view narrow to that ratio first - 1 allows a square view before vertical growth starts - and so trades horizontal base view for a less extreme layout on tall screens. Must be greater than zero and no larger than the base aspect ratio. Wider hosts always gain horizontal world; there is no upper bound to configure.
Source