Skip to content
pixi-silk
GitHub repository
Interface

LayoutDebugOptions

import type { LayoutDebugOptions } from 'pixi-silk/ui/layout';

Options of layoutDebug.

Properties#

PropertyTypeDescriptionDefined in
enabled?booleanStart with the overlay on. Default false.ui/layout/debug.ts:12
hover?booleanShow a readout of the box under the pointer. Default true.ui/layout/debug.ts:16
key?stringA KeyboardEvent.code that toggles the overlay, such as KeyL. Default none.ui/layout/debug.ts:10
labels?booleanTag each SmartContainer with its breakpoint and scale. Default true.ui/layout/debug.ts:18
root?Container<ContainerChild>The subtree to inspect. Default the whole stage.ui/layout/debug.ts:14