Gets the bounding rect of this control.
Namespace: MindFusion.Common
Assembly: Control.js
SyntaxJavaScript
Copy Code
|
|---|
get rect() {} |
Rect. The bounding rect.
ExampleThe following code checks if the rect of a Menu instance is wider than 100:
JavaScript
Copy Code
|
|---|
menu.theme = sender.theme; if(menu.rect.width > 100) |
See Also