AutoSelect

The component automatically adds .selected class according to the selector class="autoselect" within the entire HTML document.

Live preview

Open in new tab ↗
  • 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)

More UI components

Browse all 348