48
48
.filter-label - The filter's label. This is its name, usually spanning a single line.
49
a.item-toggle - May not be present, but in most cases it is. See .filter.filtergroup ul.filter-value below for more information. Usually .item-toggle for a filter spans its entire .filter-label element.
50
.filter-value - (Optional) A list, a text field or some other element corresponding to the value assigned to this filter, depending on its class.
49
a.item-toggle - May not be present, but in most cases it is. See .filter.filtergroup .filter-value ul below for more information. Usually .item-toggle for a filter spans its entire .filter-label element.
50
.filter-value - (Optional) Contains a list, a text field or some other element corresponding to the value assigned to this filter, depending on its class.
53
53
Now I will describe the different .filter-value elements that are expected.
55
55
.filtergroup , .choicefilter
57
57
li - Needs the data-choice-id attribute, which specifies the exact ID of this choice relative to the current Filter. Add the data-selected attribute if this element is selected.
58
58
.checkbox - Must always be present. Contents indicate whether the element is selected. If it is currently selected, it must be populated with a check mark character (✓, U+2713, or ✓).