How to Select Elements by CSS Class Name in NativeScript | Tutorial

preview_player
Показать описание
Have you wanted to use jQuery selectors in NativeScript? Well, we can come close with the technique I show in this NativeScript tutorial where we select elements by classname, and this can be extended to selecting elements by ID as well as attributes and properties.

More related tutorials:

► SHARE
Share this video with a friend to help them with their native JavaScript apps: 
Share the entire NativeScript playlist to help your friends with their native iOS and Android apps written with JavaScript: 

► ASK
If you have a topic you want me to make a video about use #iscriptnative in the comments.

►LET'S CONNECT

► FREE + PREMIUM NATIVESCRIPT COURSES - take your NativeScript development skills to the next level
Take 25% off any premium NativeScript course by using the coupon code YOUTUBE
Рекомендации по теме
Комментарии
Автор

Do you want to see a full video course all about the NativeScript CLI?

AZisk
Автор

Can you tell me a one thing, as I am using angular framework so it works same on it

learningcity-in
Автор

Just a FYI: the NativeScript-Dom plugin has all the getElementBy* functions and also adds classList functionality. :-)

NathanaelAnderson
Автор

I'm relatively new to programming. Why hasn't NativeScript created a select elements by classname function ? NativeScript already has getViewbyId, but why not getElementByClass name already? Btw great tutorial. :)

ChazScott