class GovukErrorMessage extends BaseScalaTemplate[play.twirl.api.HtmlFormat.Appendable, Format[play.twirl.api.HtmlFormat.Appendable]] with Template1[ErrorMessage, play.twirl.api.HtmlFormat.Appendable]
Linear Supertypes
Ordering
- Alphabetic
- By Inheritance
Inherited
- GovukErrorMessage
- Template1
- BaseScalaTemplate
- Serializable
- Product
- Equals
- AnyRef
- Any
- Hide All
- Show All
Visibility
- Public
- Protected
Instance Constructors
- new GovukErrorMessage()
- Annotations
- @Inject()
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
- def _display_(o: Any)(implicit m: ClassTag[play.twirl.api.HtmlFormat.Appendable]): play.twirl.api.HtmlFormat.Appendable
- Definition Classes
- BaseScalaTemplate
- def _display_(x: play.twirl.api.HtmlFormat.Appendable): play.twirl.api.HtmlFormat.Appendable
- Definition Classes
- BaseScalaTemplate
- def _display_(x: NodeSeq): play.twirl.api.HtmlFormat.Appendable
- Definition Classes
- BaseScalaTemplate
- def _display_(x: Unit): play.twirl.api.HtmlFormat.Appendable
- Definition Classes
- BaseScalaTemplate
- def _display_(x: String): play.twirl.api.HtmlFormat.Appendable
- Definition Classes
- BaseScalaTemplate
- def _display_(x: AnyVal): play.twirl.api.HtmlFormat.Appendable
- Definition Classes
- BaseScalaTemplate
- def apply(params: components.ErrorMessage): play.twirl.api.HtmlFormat.Appendable
Implements https://design-system.service.gov.uk/components/error-message/
Implements https://design-system.service.gov.uk/components/error-message/
Note: The tests in the govuk-frontend component imply
visuallyHiddenTextis 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. - final def asInstanceOf[T0]: T0
- Definition Classes
- Any
- def clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @native() @HotSpotIntrinsicCandidate()
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def f: (components.ErrorMessage) => play.twirl.api.HtmlFormat.Appendable
- val format: Format[play.twirl.api.HtmlFormat.Appendable]
- Definition Classes
- BaseScalaTemplate
- final def getClass(): Class[_ <: AnyRef]
- Definition Classes
- AnyRef → Any
- Annotations
- @native() @HotSpotIntrinsicCandidate()
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- 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()
- def productElementNames: Iterator[String]
- Definition Classes
- Product
- def ref: GovukErrorMessage.this.type
- def render(params: components.ErrorMessage): play.twirl.api.HtmlFormat.Appendable
- Definition Classes
- GovukErrorMessage → Template1
- final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- final def wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException]) @native()
- final def wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
Deprecated Value Members
- def finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.Throwable]) @Deprecated
- Deprecated