-
Notifications
You must be signed in to change notification settings - Fork 5
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
unable to get parent's property in xml #7
Comments
@terreb i don't if you can access to $parents from a view loaded with builder. I will do my tests later on and let you know. Thanks |
You can follow this NativeScript/NativeScript#3077 |
{N} Team provided an example for this that i will be testing. Thanks |
It seems that $parents doesn't provide access to the native widget properties but it's binding context instead, so if you want to access the CarouselView properties, you have to expose them in the ViewModel like this:
|
ok, thanks |
nativescript 2.3.0
tns-core-modules 2.3.0
tns-ios 2.3.0
nativescript-carousel-view 2.0.1
simulator iOS 9.3
How to reproduce:
The text was updated successfully, but these errors were encountered: