case class Checkboxes(describedBy: Option[String] = None, fieldset: Option[html.components.Fieldset] = None, hint: Option[html.components.Hint] = None, errorMessage: Option[html.components.ErrorMessage] = None, formGroupClasses: String = "", idPrefix: Option[String] = None, name: String = "", items: Seq[CheckboxItem] = Nil, classes: String = "", attributes: Map[String, String] = Map.empty, values: Set[String] = Set.empty) extends Product with Serializable
Parameters to GovukCheckboxes Twirl template
- describedBy
optional
aria-describedbyattribute for theinputelement- fieldset
optional
Fieldsetused to wrap the checkboxes control- hint
optional
Hintfor the control- errorMessage
optional
ErrorMessageto display- formGroupClasses
optional additional CSS classes to apply to the form group
- idPrefix
optional id prefix to use for hint & error elements (defaults to
name)- name
the name of the
inputelement- items
sequence of
CheckboxItems- classes
optional additional CSS classes to apply to the
govuk-checkboxesdiv- attributes
optional additional HTML attributes to apply to the
govuk-checkboxesdiv- values
sequence of values of any
itemsthat should bechecked
- Note
valuesoverride anycheckedCheckboxItem(s)
- Alphabetic
- By Inheritance
- Checkboxes
- Serializable
- Serializable
- Product
- Equals
- AnyRef
- Any
- Hide All
- Show All
- Public
- All
Instance Constructors
-
new
Checkboxes(describedBy: Option[String] = None, fieldset: Option[html.components.Fieldset] = None, hint: Option[html.components.Hint] = None, errorMessage: Option[html.components.ErrorMessage] = None, formGroupClasses: String = "", idPrefix: Option[String] = None, name: String = "", items: Seq[CheckboxItem] = Nil, classes: String = "", attributes: Map[String, String] = Map.empty, values: Set[String] = Set.empty)
- describedBy
optional
aria-describedbyattribute for theinputelement- fieldset
optional
Fieldsetused to wrap the checkboxes control- hint
optional
Hintfor the control- errorMessage
optional
ErrorMessageto display- formGroupClasses
optional additional CSS classes to apply to the form group
- idPrefix
optional id prefix to use for hint & error elements (defaults to
name)- name
the name of the
inputelement- items
sequence of
CheckboxItems- classes
optional additional CSS classes to apply to the
govuk-checkboxesdiv- attributes
optional additional HTML attributes to apply to the
govuk-checkboxesdiv- values
sequence of values of any
itemsthat should bechecked
Value Members
-
final
def
!=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
##(): Int
- Definition Classes
- AnyRef → Any
-
final
def
==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
- val attributes: Map[String, String]
- val classes: String
-
def
clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native() @HotSpotIntrinsicCandidate()
- val describedBy: Option[String]
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- val errorMessage: Option[html.components.ErrorMessage]
- val fieldset: Option[html.components.Fieldset]
- val formGroupClasses: String
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
- Annotations
- @native() @HotSpotIntrinsicCandidate()
- val hint: Option[html.components.Hint]
- val idPrefix: Option[String]
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- val items: Seq[CheckboxItem]
- val name: String
-
final
def
ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
final
def
notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @HotSpotIntrinsicCandidate()
-
final
def
notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @HotSpotIntrinsicCandidate()
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
- val values: Set[String]
-
final
def
wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native()
-
final
def
wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
Deprecated Value Members
-
def
finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( classOf[java.lang.Throwable] ) @Deprecated
- Deprecated