Super small `Element.matches` fix for older browsers (IE 9+, Edge 12+, Safari, Android browsers)
Check if a DOM element matches a given selector
Check if an element matches a given selector
Check if a DOM element matches a given selector, with decent browser support and unit tests.
Check if a DOM element matches a given selector, with decent browser support and unit tests.
Check if an element matches a given selector
An Element matches polyfill
Element.matches Polyfill
Test if an element matches a given selector
Check if an element matches a given selector
Check if a DOM element matches a CSS selector
Checks whether an element matches all of the given criteria
Check if an element matches a given selector
An absurdly small glob matcher that packs a punch.
Collection of useful helper functions when trying to determine module type (CommonJS or AMD) properties of an AST node.
Jest expect matches to test if an element matches markdown
General purpose glob-based configuration matching.
Extends `minimatch.match()` with support for multiple patterns
PostCSS plugin to transform :matches() W3C CSS pseudo class to more compatible CSS selectors
All essential TypeScript types in one place
Check if a string matches the name of a Node.js builtin module
A WebdriverIO reporter plugin to create Allure Test Reports
A query library for ECMAScript AST using a CSS selector like query language.
matches/matchesSelector helper
Detect if an Enumerable object contains at least/most x elements matching a condition.
Bisect a range, finding elements that match the block
- Adds `Object#attrs` method for querying nested attributes - Adds `Array#where` to return a subset of elements matching a condition - Adds `Array#find_by` to return the first element matching a condition - Adds `Object#matches?` to check if an object matches a condition - Adds `Hash#method_missing` to allow {a: 1}.a instead of {a: 1}[:a]
Mix and match HTML and Markdown syntax. Generate nested DOM trees from a single top level element. Extract content from custom elements.
When clicked, `link_to_add_fields` will render the association's fields partial above it. `link_to_remove_fields` will hide the HTML element matching it's target css selector. It also sets a truthy value in the hidden input field closest to it.
Live Query utilizes the power of jQuery selectors by binding events or firing callbacks for matched elements auto-magically, even after the page has been loaded and the DOM updated.
Provides short interface for choosing elements from array of structs. Filtering by equality, matching and inclusion, e.g.: target.choose(:street => "Main", :age => (24..30), :address => /Main/) Filtering by instance evaluated string, e.g.: target.choose("age >= 24 && address =~ /^Main/") Rejecting elements with #choose_not method, e.g.: target.choose_not(:street => "Main")
Live Query utilizes the power of jQuery selectors by binding events or firing callbacks for matched elements auto-magically, even after the page has been loaded and the DOM updated.
== FEATURES/PROBLEMS: * Partial string matching * The algorithm is not particularly performant == SYNOPSIS: require 'goto_string' s = %w(goto_string is a small library that implements a substring matching and ranking algorithm. The matching and ranking is similar to that found in Quicksilver or TextMate) GotoString::Matcher.match('string', s) #=> [["goto_string", "goto_string", 0.679259259259259, [["string", 5]]], ["substring", "substring", 0.461481481481481, [["s", 0], ["tring", 4]]]] An array is returned which contains one entry for each match. Matches are ordered by rank. Each match is itself an array, containing the following elements: [ "original candidate", "matched string", rank, [["substring_1", offset], ["substring_2", offset], ... ] ] You can optionally pass a block to the match method which will get each candidate passed to it. The return value of the block is what will be used for matching. This is so you can pass in arrays of complex objects as candidates: GotoString::Matcher.match( "goto", Project.find(:all) ) do |p| p.name end The resulting matches will contain a reference to the matched string (the project name) as well as the project (the original candidate) == REQUIREMENTS: * None
The test.ai image classification RPC server can listen for requests from this client in order to classify images and even use a Selenium client object to find elements in a webpage matching a certain label
SilentListener allows you to define _SilentListeners_ which will be instantiated whenever an element appears which matches a given selector. It also comes with some handy functionality for reinstantiating classes using events, and handling class options.
jQuery snippet for Rails projects that parses the url for the current page, and adds an 'active' class decoration to links that match the current page. By default this snippet is designed to work with Twitter Bootstrap v4 header navigation. However, you can target different elements in your page(s) by modifying the active_element variable. In the default it is targetting links within a line item within a header element with a class of navbar-nav.
No description provided.
No description provided.
No description provided.
No description provided.
No description provided.