Being new to the world of sencha touch
, I am in the process of developing an application for iOS
using sencha touch
. In my app.css file, I defined a style for a label using the class "top". Here's what I tried:
console.log(Ext.getCmp('location_label').getTop());
Unfortunately, it seems like this code is not working as expected. Can anyone provide some guidance on how to fix this issue?
Thank you in advance.