Skip to main content

BottomSlotLayout

Offsets that keep the bottom slots clear of the surfaces above them.

This is an interface exported by @mapcairn/core, checked against version 0.2.0.

Signature​

import type { BottomSlotLayout } from "@mapcairn/core";

interface BottomSlotLayout

Properties​

bottomEndTranslateY​

readonly bottomEndTranslateY: number;

Vertical shift of bottom-end. Zero or negative (upwards).

bottomStartTranslateX​

readonly bottomStartTranslateX: number;

Rightwards shift of bottom-start, in pixels. Never negative.

bottomStartTranslateY​

readonly bottomStartTranslateY: number;

Vertical shift of bottom-start. Zero or negative (upwards).

hideBottomSlots​

readonly hideBottomSlots: boolean;

True when the bottom slots should be hidden (sheet at the full detent).

Source: packages/core/src/layout/layout.ts:46