Selected
The component can set a specific class to a specific element according to the simple condition.
The component can set a specific class to a specific element according to the simple condition.
Configuration:
class {String}is a class name for selected element (default:selected)selector {String}is a jQuery selector (default:a)attr {String}attribute for comparing (default:ifand it meansdata-if)attror {String}attribute for secondary comparing (default:orand it meansdata-or)datasource {String}a path to data-source for list of itemsdelay {Number}a delay for rel-selecting of value (default:50)
Usage:
Each nested element according to the selector must have defined data-if attribute. It works only with strings values.




