ProductView
What a section knows about the product it draws: the product, the options chosen, the variant they name, and how to choose another.
Properties
Section titled “Properties”product
Section titled “product”product:
Product
select
Section titled “select”select: (
axis,value) =>void
Chooses value on an option axis. Sections that draw the same product see it at once.
Parameters
Section titled “Parameters”string
string
Returns
Section titled “Returns”void
selection
Section titled “selection”selection:
Selection
variant
Section titled “variant”variant:
Variant|undefined
The variant the selection names; undefined for a product with no variants or an incomplete selection.