Frontmatter
| id | 2785 |
| title | component.Base:getDomRect() => convenience shortcut |
| state | Closed |
| labels | enhancement |
| assignees | tobiu |
| createdAt | Jan 1, 2022, 1:02 PM |
| updatedAt | Jan 1, 2022, 1:48 PM |
| githubUrl | https://github.com/neomjs/neo/issues/2785 |
| author | tobiu |
| commentsCount | 1 |
| parentIssue | null |
| subIssues | [] |
| subIssuesCompleted | 0 |
| subIssuesTotal | 0 |
| blockedBy | [] |
| blocking | [] |
| closedAt | Jan 1, 2022, 1:46 PM |
component.Base:getDomRect() => convenience shortcut
tobiu assigned to @tobiu on Jan 1, 2022, 1:02 PM

tobiu
Jan 1, 2022, 1:07 PM
thinking more about it, we should move the shortcut into component.Base, since this allows us to use default values for appName and id.
tobiu changed title from Neo.getDomRect() => convenience shortcut to component.Base:getDomRect() => convenience shortcut on Jan 1, 2022, 1:40 PM
tobiu closed this issue on Jan 1, 2022, 1:46 PM
We are using
Neo.main.DomAccess.getBoundingClientRect()30+ times inside thesrcfolder and there are more occurences inside the apps folder, so a convenience shortcut feels needed.