Gets the bounds of this control.
Namespace: MindFusion.Common
File: Control.js
SyntaxJavaScript
Copy Code
|
|---|
get bounds() {} |
Rect. The bounds.
ExampleThe following code uses the bounds property of a ToolStrip to render a menu right before the tool item, over which the mouse hovers:
JavaScript
Copy Code
|
|---|
// This is the handler function of the toolstrip.itemMouseEnter event. document.body.appendChild(menu.draw()); |
See Also