MasterDetailLayoutAttributes

Attribute names of <vaadin-master-detail-layout>, for use with setAttribute.

Properties

Link copied to clipboard
const val detailSize: String

Size (in CSS length units) to be set on the detail area in the CSS grid layout. When there is not enough space to show master and detail areas next to each other, the detail area is shown as an overlay.

Link copied to clipboard
const val expandDetail: String

When true, the detail area grows to fill the available space. If expandMaster is also true, both areas share the available space equally.

Link copied to clipboard
const val expandMaster: String

When true, the master area grows to fill the available space. If expandDetail is also true, both areas share the available space equally.

Link copied to clipboard
const val forceOverlay: String

When true, the layout forces the detail area to be shown as an overlay, even if there is enough space for master and detail to be shown next to each other using the default (split) mode.

Link copied to clipboard
const val masterSize: String

Size (in CSS length units) to be set on the master area in the CSS grid layout. If there is not enough space to show master and detail areas next to each other, the detail area is shown as an overlay. Defaults to 30em.

Link copied to clipboard
const val noAnimation: String

When true, the layout does not use animated transitions for the detail area.

Link copied to clipboard
const val orientation: String

Define how master and detail areas are shown next to each other, and the way how size and min-size properties are applied to them. Possible values are: horizontal or vertical. Defaults to horizontal.

Link copied to clipboard

Defines the containment of the detail area when the layout is in overlay mode. When set to layout, the overlay is confined to the layout. When set to page, the overlay is confined to the browser's viewport. Defaults to layout.

Link copied to clipboard
const val overlaySize: String

Size (in CSS length units) for the detail area when shown as an overlay. When not set, falls back to detailSize. Set to 100% to make the detail cover the full layout.

Link copied to clipboard
const val theme: String

The theme variants to apply to the component.