Gets the bounds of this ListItem.
Namespace: MindFusion.Common.UI
File: ListItem.js
Syntax
ExampleThe following code checks the width of the first ListItem in a ListView:
JavaScript
Copy Code
|
|---|
| // check the width of the first list item var firstItem = listView.items.items()[0]; if (firstItem.bounds.width > 100) { //do something } |
See Also