UNPKG

lazy-widgets

Version:

Typescript retained mode GUI for the HTML canvas API

11 lines (10 loc) 199 B
import { Widget } from '../widgets/Widget.js'; /** * A layer in a {@link LayeredContainer}. * * @category Core */ export type Layer<W extends Widget> = { child: W; canExpand: boolean; };