Gets the bounds of this ListItem.
Namespace: MindFusion.Common.UI
File: ListItem.js
The 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 } |
JavaScript Pack Programmer's Guide | © 2024 MindFusion |