Skip to main content

Constraints

Constraints come with several caveats. They are not serialized with layouts and can only be applied to groups.

onDidConstraintsChange
readonly onDidConstraintsChange: Event<GridConstraintChangeEvent>
setConstraints
setConstraints(value: GridConstraintChangeEvent2): void
onDidConstraintsChange
readonly onDidConstraintsChange: Event<GridConstraintChangeEvent>
setConstraints
setConstraints(value: GridConstraintChangeEvent2): void

Live Example