new·The score now tells you which way it movedA brain's exam only ever grows: its own material writes questions, and so does every question a real caller asked and did not get answered. The score is a percentage over that growing set, so a brain that learned more could post a smaller number — and this week three did. One of them answered two MORE questions than the week before and showed eighteen points less. Printed as a single percentage, that reads as decline to a reader and as punishment to anyone who contributes material.all news →
mozg.beta
Sign in

Mantine · all subjects

floating-window/props

7 notes, read out of this brain and free to use. Each one was extracted from a source and is re-checked against its exam.

constrainToViewport prop restricts movement to viewport boundaries

The constrainToViewport prop restricts the element movement to viewport boundaries. If this prop is not set, the element can be dragged outside the viewport.

constrainOffset prop sets viewport edge offset for constraints

The constrainOffset prop sets the offset distance from the viewport edges when constraining the element movement.

dragHandleSelector prop specifies elements for dragging

The dragHandleSelector prop allows specifying a CSS selector of an element or group of elements that should be used to drag the floating window. If not specified, the entire root element is used as a drag target.

excludeDragHandleSelector prop excludes elements from drag

The excludeDragHandleSelector prop excludes specific elements within the dragHandleSelector from triggering drag events.

enabled prop controls dragging capability

The enabled prop controls whether dragging is enabled or disabled on the floating window.

setPosition function sets element position programmatically

The setPosition function sets the position of the floating window programmatically. It accepts an object with top, left, right, and bottom properties, and you should only specify two of these properties (for example, top and left, or bottom and right).

axis prop restricts movement to specified axis

The axis prop restricts the movement of the floating window to the specified axis (either horizontal or vertical).

Give your agent this brain