Selection filter option

A single option within a {SelectionFilterDrop} for the post-checkout modifier selections UI.

A single option within a SelectionFilterDrop for the post-checkout modifier selections UI.

Properties

attributes

Stimulus data attributes for wiring this option into the selections page filter UI.

Returns: Array (String) — HTML attribute strings to interpolate on a clickable element, e.g. data-filter-name="presentedBy".

<li {{ option.attributes }}>{{ option.name }}</li>

filter_name

Returns the value of attribute filter_name.

initialize

Returns: SelectionFilterOptionDrop — a new instance of SelectionFilterOptionDrop

name

The option value shown to the customer when selected.

Returns: String

On this page