Class: FallbackSelector

Help4.selector.methods.FallbackSelector()

Use unique attributes and classes as a fallback - value uniqueness is checked individually - origin in href and src urls is removed

Constructor

new FallbackSelector()

Source:

Extends

  • Help4.selector.methods.BaseSelector

Members

ATTRIBUTES :Object

don't use these attributes, they're language-based or otherwise not stable / unique across different sessions, stable ids would have been used by other selectors
Type:
  • Object
Source:

CLASSES :Object

don't use these classes, they're status-based or otherwise not stable / unique across different sessions
Type:
  • Object
Source:

ELEMENTS :Object

block elements using CSS selectors
Type:
  • Object
Source:

Methods

(static) getElement(selector) → (nullable) {HTMLElement}

Parameters:
Name Type Description
selector string
Source:
Returns:
Type
HTMLElement

(static) getSelector(element) → (nullable) {Help4.selector.methods.Selector}

Parameters:
Name Type Description
element HTMLElement
Source:
Returns:
Type
Help4.selector.methods.Selector