Configuration for a single kind of selection and its choices available for the user.
- Value parameters:
- choices
the configuration for one or more choices that are available in each of the directives
- name
the name of the selection as used in text markup, e.g.
@:select(name)
.- separateEbooks
whether the selection should render all its choices in the same output or produce separate e-books where in each of them only one of the choice is displayed. This way separate e-books for Scala vs. Java code samples or sbt vs. Maven build examples can be produced. Keep in mind that multiple selections having this property set to true would result in the cartesian product of available e-book versions, it is therefore unusual to have more than one or two.
- Companion:
- object
Value members
Concrete methods
Returns the label of the choice with the specified name, if present.
Returns the label of the choice with the specified name, if present.
Returns a copy of this instance where the specified choice is marked as selected.
Returns a copy of this instance where the specified choice is marked as selected.