Floating

Overview

A floating element allows arbitrary placement of an enclosed element (subject) in the main view.

floating

floating

Positions the enclosed element (subject) at specified coordinates, allowing it to float within the layout.

Notation

left, top, right, bottom

float

subject

Instance of Element

Expression

floating({left, top, right, bottom}, subject)

Semantics

  1. The element will be placed exactly to the specified position in the main view, constrained to the subject’s natural limits.

  2. The floating element does not violate the natural limits of the subject.

  3. Returns instance of Proxy.


Copyright (c) 2014-2024 Joel de Guzman. All rights reserved. Distributed under the MIT License