getRelativeBounds | WebHare Platform SDKWebHare Platform SDKPreparing search index...@webhare/dompackgetRelativeBoundsFunction getRelativeBoundsgetRelativeBounds(node: Element, relativeto?: Element): Rectget the relative bound difference between two elements, and return a writable copy Parametersnode: ElementThe node for which you need coordinates Optionalrelativeto: ElementOptional reference point. If not set, you just get a 'normal' coordinate object Returns RectSettingsMember VisibilityProtectedInheritedThemeOSLightDarkWebHare Platform SDKLoading...
get the relative bound difference between two elements, and return a writable copy