List options

Use a list option when you want to offer an array of choices.


Your list option should be a plain object with these properties:

  • dflt : The default for this option
  • list : An array of available values options

Like all options that are configured through an object, you can add more properties to the options’ object to implement functionality on top of what’s provided by the core library.

Refer to extending options for more details.


options: {
  cuffStyle: { 
    dflt: "angledBarrelCuff",
    list: [