GovukErrorMessage
uk.gov.hmrc.govukfrontend.views.html.components.GovukErrorMessage
class GovukErrorMessage() extends BaseScalaTemplate[Appendable, Format[Appendable]], Template1[ErrorMessage, Appendable]
Attributes
- Graph
-
- Supertypes
-
class BaseScalaTemplate[Appendable, Format[Appendable]]trait Serializabletrait Producttrait Equalsclass Objecttrait Matchableclass AnyShow all
Members list
Value members
Concrete methods
Implements https://design-system.service.gov.uk/components/error-message/
Note: The tests in the govuk-frontend component imply visuallyHiddenText is sometimes used as a boolean. https://github.com/alphagov/govuk-frontend/blob/v2.11.0/src/components/error-message/template.test.js#L82 Here it uses the type VisuallyHiddenText to encode the text or intention to hide it. If no value is passed defaults to show "Error" as the visually hidden text.
Attributes
Inherited methods
Attributes
- Inherited from:
- BaseScalaTemplate
Attributes
- Inherited from:
- BaseScalaTemplate
Attributes
- Inherited from:
- BaseScalaTemplate
Attributes
- Inherited from:
- BaseScalaTemplate
Attributes
- Inherited from:
- BaseScalaTemplate
Attributes
- Inherited from:
- BaseScalaTemplate
Attributes
- Inherited from:
- Product
Attributes
- Inherited from:
- Product
In this article