このページの翻訳はまだありません。英語版を表示しています。
Overflow
Overflow handling enumeration
Defines how content that exceeds the container boundaries is handled.
This corresponds to the CSS overflow property.
Example
import { Style, Overflow } from "taffy-layout"; const style = new Style(); style.overflow = { x: Overflow.Hidden, y: Overflow.Scroll };
Enumeration Members
| Enumeration Member | Value | Description |
|---|---|---|
Clip | 1 | Content is clipped at the container boundary, but unlike Hidden, this forbids all scrolling |
Hidden | 2 | Content is clipped at the container boundary |
Scroll | 3 | Always display scrollbars for scrollable content |
Visible | 0 | Content is not clipped and may render outside the container |