Web Component: j-AutoSelect


  • Info
  • HTML
  • JS
  • CSS
  • Meta

j-AutoSelect

  • jComponent v19|v20
  • singleton

The component automatically adds .selected class according to the selector class="autoselect" within the entire HTML document. This component is a perfect solution for server-side rendering and subsequent highlighting.

Configuration:

  • selector {String} is a jQuery selector (default: .autoselect a)
  • class {String} is a class name for selected element (default: selected)

Author