Access attribute


Hi everyone, I have the following problem:

I have a CardView object, where I want to go through and access the button tag to change the value of an attribute.

I’ve tried some methods but I have not been successful.

I’m using Nativescript SideKick and got the following result:

I have a button where I want to change the value of the isEnabled = false attribute to isEnabled = true

More details at this link: Access the properties of a tag


I’m not sure want you want to do but you can acces to the button with getViewById or add a class and change its property to disabled or enabled with binding


If you are looking for an option to access descendants by tag or class name you must try this plugin,