osws-relative-position-ts
v0.0.10
Published
Calculation element position relative to other elements.
Downloads
5
Readme
RelativePosition-ts / osws-relative-position-ts / RelativePosition
0.0.10
Calculation element position relative to other elements.
class Priority
(getParent: IGetContainer, getSource: IGetSizeAndPosition, getTarget: IGetSizeAndMargin, priorities: Direction[])
Example
class Center
(getParent: IGetContainer, getSource: IGetSizeAndPosition, getTarget: IGetSizeAndMargin, getCenter: IGetPosition, schema: DirectionsSchema = new DirectionsSchema())
Example
Changes
0.0.9
- add indent support