object current extends Generic[|[String, Boolean]]
Indicates the element that represents the current item within a container or set of related elements.
The aria-current attribute is an enumerated type. Any value not included in the list of allowed values SHOULD be treated by assistive technologies as if the value true had been provided. If the attribute is not present or its value is an empty string or undefined, the default value of false applies and the aria-current state MUST NOT be exposed by user agents or assistive technologies.
The aria-current attribute is used when an element within a set of related elements is visually styled to indicate it is the current item in the set. For example:
A page token used to indicate a link within a set of pagination links, where the link is visually styled to represent the currently-displayed page. A step token used to indicate a link within a step indicator for a step-based process, where the link is visually styled to represent the current step. A location token used to indicate the image that is visually highlighted as the current component of a flow chart. A date token used to indicate the current date within a calendar. A time token used to indicate the current time within a timetable. Authors SHOULD only mark one element in a set of elements as current with aria-current.
Authors SHOULD NOT use the aria-current attribute as a substitute for aria-selected in widgets where aria-selected has the same meaning. For example, in a tablist, aria-selected is used on a tab to indicate the currently-displayed tabpanel.
- Alphabetic
- By Inheritance
- current
- Generic
- Attr
- AnyRef
- Any
- Hide All
- Show All
- Public
- Protected
Value Members
- final def !=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def ##: Int
- Definition Classes
- AnyRef → Any
- def :=[A](a: A)(implicit t: ValueType[A, |[String, Boolean]]): TagMod
- final def :=?[O[_], A](oa: O[A])(implicit O: OptionLike[O], t: ValueType[A, |[String, Boolean]]): TagMod
- Definition Classes
- Attr
- final def ==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def asInstanceOf[T0]: T0
- Definition Classes
- Any
- final val attrName: String
- Definition Classes
- Attr
- def clone(): AnyRef
- Attributes
- protected[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @native()
- def date: TagMod
Represents the current date within a collection of dates.
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def equals(any: Any): Boolean
- Definition Classes
- Attr → AnyRef → Any
- def false: TagMod
(default) Does not represent the current item within a set.
- def finalize(): Unit
- Attributes
- protected[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.Throwable])
- final def getClass(): Class[_ <: AnyRef]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
- def hashCode(): Int
- Definition Classes
- Attr → AnyRef → Any
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- def location: TagMod
Represents the current location within an environment or context.
- final def ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- final def notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
- final def notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
- def page: TagMod
Represents the current page within a set of pages.
- def step: TagMod
Represents the current step within a process.
- final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- def time: TagMod
Represents the current time within a set of times.
- final def toString(): String
- Definition Classes
- Attr → AnyRef → Any
- def true: TagMod
Represents the current item within a set.
- final def wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- 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()