Frontmatter
| id | 51 |
| title | Rectangle utility class |
| state | Closed |
| labels | enhancementhelp wanted |
| assignees | [] |
| createdAt | Nov 18, 2019, 2:25 AM |
| updatedAt | Sep 15, 2023, 7:44 AM |
| githubUrl | https://github.com/neomjs/neo/issues/51 |
| author | tobiu |
| commentsCount | 0 |
| parentIssue | null |
| subIssues | [] |
| subIssuesCompleted | 0 |
| subIssuesTotal | 0 |
| blockedBy | [] |
| blocking | [] |
| closedAt | Sep 15, 2023, 7:44 AM |
instead of (or additional to) using the floating mixin, create a Rectangle class which does provide helper methods for aligning components.
e.g. windows, pickers, tooltips
like
alignTo(nodeId, 'tl-br');add zones => t r b l => 0 1 2 3 similar to CSS zones