object haspopup extends Generic[|[String, Boolean]]
Indicates the availability and type of interactive popup element, such as menu or dialog, that can be triggered by an element.
A popup element usually appears as a block of content that is on top of other content. Authors MUST ensure that the role of the element that serves as the container for the popup content is menu, listbox, tree, grid, or dialog, and that the value of aria-haspopup matches the role of the popup container.
For the popup element to be keyboard accessible, authors SHOULD ensure that the element that can trigger the popup is focusable, that there is a keyboard mechanism for opening the popup, and that the popup element manages focus of all its descendants as described in Managing Focus.
The aria-haspopup property is an enumerated type. User agents MUST treat any value of aria-haspopup that is not included in the list of allowed values, including an empty string, as if the value false had been provided. To provide backward compatibility with ARIA 1.0 content, user agents MUST treat an aria-haspopup value of true as equivalent to a value of menu.
Assistive technologies SHOULD NOT expose the aria-haspopup property if it has a value of false.
- Alphabetic
- By Inheritance
- haspopup
- 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 dialog: TagMod
Indicates the popup is a dialog.
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def equals(any: Any): Boolean
- Definition Classes
- Attr → AnyRef → Any
- def false: TagMod
(default) Indicates the element does not have a popup.
- 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 grid: TagMod
Indicates the popup is a grid.
- def hashCode(): Int
- Definition Classes
- Attr → AnyRef → Any
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- def listbox: TagMod
Indicates the popup is a listbox.
- def menu: TagMod
Indicates the popup is a menu.
- 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()
- final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- final def toString(): String
- Definition Classes
- Attr → AnyRef → Any
- def tree: TagMod
Indicates the popup is a tree.
- def true: TagMod
Indicates the popup is a menu.
- 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()