jquery-closest-descendant

  •        48

Get the first element(s) that matches the selector by traversing down through descendants in the DOM tree level by level. It use a breadth first search (BFS), that mean it will stop going deeper in a subtree if the first matching descendant was found in the current subtree.

https://github.com/tlindig/jquery-closest-descendant

Tags
Implementation
License
Platform

   




Related Projects

maze - Using Breadth-First Search (BFS)) to find any way between two points inside a maze.


Using Breadth-First Search (BFS)) to find any way between two points inside a maze.

find-path - Given a search string and a list of file paths, find the closest path.


Given a search string and a list of file paths, find the closest path.

acorn-bfs - Breadth-first search traversal of an acorn-generated AST


Breadth-first search traversal of an acorn-generated AST

BFS - simple realisation of Breadth-first search algorithm


simple realisation of Breadth-first search algorithm

cilk-bfs - Parallel Breadth-First Search written in Cilk++


Parallel Breadth-First Search written in Cilk++



bfs-python - Breadth First Search (Python)


Breadth First Search (Python)

bfs-js - Breadth First Search (JavaScript)


Breadth First Search (JavaScript)

bfs - Breadth-first search


Breadth-first search

graph_bfs_solver - BFS graph solver


This tool takes an xml constructed graph and finds all possible paths between home nodes for a set amount of travellers. A "home node" is defined as a starting point for each traveller. The search is performed using Breadth-first search algorithm and depending on the parameters (size of graph, number of home nodes and travellers) it may take quite a while to find all possible solutions (by default a limit on number of solutions is set which you can disable using --limit 0).

node-closest-ec2-region - Find the closest ec2 region based on a geoIP


Find the closest ec2 region based on a geoIP

closest-match - Find the closest match for a string from an array of matches, using string distance.


Find the closest match for a string from an array of matches, using string distance.

closest - Find closest matching parent element


Find closest matching parent element

closest - Find the closest parent that matches a selector


Find the closest parent that matches a selector

Dart-Labyrinth - simple maze implementation using breadth first search on a graph to find a path


simple maze implementation using breadth first search on a graph to find a path

find-server - find the closest server to a port


find the closest server to a port

find-nice-weather - Find closest place to you that has nice weather


Find closest place to you that has nice weather

long-lat-search - Search and sort by closest point on a map


Search and sort by closest point on a map

MI-DPO_Task2


School project (course Design Patterns and OOP). Implementation of Strategy design pattern. Program creates a tree and goes through all the nodes in order of depth first search (DFS) and breadth first search (BFS).

pkg-up - Find the closest package.json file


Find the closest package.json file