-
-
Notifications
You must be signed in to change notification settings - Fork 7
Nativescript Getters #14
-
Hi guys, thank you for your time and effort to keep Nativescript up and running.
I am using a lot nativescript-getters plugin to get views by tag, class names, values etc etc.
Do you think we can get it integrated into NS 8? Or maybe we can have anything similar to it?
Many thanks.
Edit: Relevant Link: https://plugins.nativescript.rocks/plugin/nativescript-getters
Beta Was this translation helpful? Give feedback.
All reactions
-
❤️ 1
Replies: 1 comment 6 replies
This comment was marked as disruptive content.
This comment was marked as disruptive content.
-
These could be covered by querySelector if we were to implement support:
querySelector('[checked=true]');
Beta Was this translation helpful? Give feedback.
All reactions
-
👍 1
-
@rigor789 sure, I understand. I think the main idea is to minimise the dependence on plugins for such an essential functionality.
Beta Was this translation helpful? Give feedback.
All reactions
-
Right - I was just saying that @NathanaelA's list of the 3 methods would include getViewsByProperty and getViewsByValuePair through querySelector.
Beta Was this translation helpful? Give feedback.
All reactions
-
@rigor789 and @NathanaelA
Would be great to have it!
Thank you again for all your hard work. You make a massive difference and keep NS truly versatile.
Beta Was this translation helpful? Give feedback.
All reactions
-
I am more a front and back developer than a mobile developer and if I saw querySelector in NS it would be great since for frontend I think it is the most used. I also agree with the others but I think that with querySelector all are covered, it is the most versatile
Beta Was this translation helpful? Give feedback.