NathanaelA / nativescript-dom

NativeScript DOM emulation methods
MIT License
42 stars 23 forks source link

Feature: .closest("selector") #1

Open sitefinitysteve opened 8 years ago

sitefinitysteve commented 8 years ago

Just wondering if we could get a method to search up the parent tree for a selector match to return a a single view (or null if nothing found)... And have it called 'closest'... Very jQuery, it's what i went to look for in the module initially

NathanaelA commented 8 years ago

I need to add a selector engine to the dom engine for this request.. But now that Telerik has a selector engine for css processing I might be able to leverage it...