Skip to content

Commit

Permalink
component.Base: fixed error in doc comments
Browse files Browse the repository at this point in the history
  • Loading branch information
tobiu committed Jan 25, 2025
1 parent 634bd75 commit 97b7eff
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/component/Base.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -1684,7 +1684,7 @@ class Component extends Base {
* Convenience shortcut
* @param {String[]|String} id=this.id
* @param {String} appName=this.appName
* @returns {Promise<Neo.util.Rectangle||Neo.util.Rectangle[]>}
* @returns {Promise<Neo.util.Rectangle|Neo.util.Rectangle[]>}
*/
async getDomRect(id=this.id, appName=this.appName) {
let result = await Neo.main.DomAccess.getBoundingClientRect({appName, id, windowId: this.windowId});
Expand All @@ -1707,7 +1707,7 @@ class Component extends Base {
* @param {Number} opts.attempts=10 Reruns in case the rect height or width equals 0
* @param {Number} opts.delay=50 Time in ms before checking again
* @param {String[]|String} opts.id=this.id
* @returns {Promise<Neo.util.Rectangle||Neo.util.Rectangle[]>}
* @returns {Promise<Neo.util.Rectangle|Neo.util.Rectangle[]>}
*/
async waitForDomRect({appName=this.appName, attempts=10, delay=50, id=this.id}) {
let me = this,
Expand Down

0 comments on commit 97b7eff

Please sign in to comment.