resolveSplitDirection
Returns the concrete axis a split lays out on.
@internote/canvas-sdk/hostOn this page
import { resolveSplitDirection } from '@internote/canvas-sdk/host';auto stacks while the canvas shares the page with the prose, where the canvas column is far narrower than it is tall, and goes side by side in presentation, where the canvas has the whole screen. An explicit direction is honoured in both.
#Values
horizontalvertical#Parameters
directionThe split's direction as written.
presentingWhether the host is presenting.
Declared in packages/canvas-sdk/src/host/layout.ts:45.