selector
/səˈlɛktər/
noun
- A person or thing that chooses, especially someone who picks a team or group from a larger set.
- As a jury selector, she interviews potential jurors for the trial.
- The selector on the machine lets you choose between different settings.
- The selector chose the best players for the national soccer team.
- A device or control that allows a user to choose an option, such as a switch or dial.
- Turn the selector to the 'hot' setting for warmer water.
- The radio has a channel selector on the front panel.
- He flipped the selector switch to activate the backup generator.
- In computing, a part of a program or code that identifies and picks a specific element (e.g., in CSS or JavaScript).
- The CSS selector targets all paragraphs with a specific class.
- Using the right selector makes your code more efficient.
- She wrote a selector to highlight the active menu item.