scalatags.generic.Styles

pointerEvents

object pointerEvents extends Style

The CSS property pointer-events allows authors to control under what circumstances (if any) a particular graphic element can become the target of mouse events. When this property is unspecified, the same characteristics of the visiblePainted value apply to SVG content.

In addition to indicating that the element is not the target of mouse events, the value none instructs the mouse event to go "through" the element and target whatever is "underneath" that element instead.

MDN

Linear Supertypes
Style, Serializable, Serializable, Product, Equals, AnyRef, Any
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. pointerEvents
  2. Style
  3. Serializable
  4. Serializable
  5. Product
  6. Equals
  7. AnyRef
  8. Any
  1. Hide All
  2. Show all
Learn more about member selection
Visibility
  1. Public
  2. All

Value Members

  1. final def !=(arg0: Any): Boolean

    Definition Classes
    AnyRef → Any
  2. final def ##(): Int

    Definition Classes
    AnyRef → Any
  3. def :=[Builder, T](v: T)(implicit ev: StyleValue[Builder, T]): StylePair[Builder, T]

    Creates an StylePair from an Style and a value of type T, if there is an StyleValue of the correct type.

    Creates an StylePair from an Style and a value of type T, if there is an StyleValue of the correct type.

    Definition Classes
    Style
  4. final def ==(arg0: Any): Boolean

    Definition Classes
    AnyRef → Any
  5. val all: StylePair[Builder, String]

    SVG only.

    SVG only. The element can only be the target of a mouse event when the pointer is over the interior (i.e., fill) or the perimeter (i.e., stroke) of the element. The values of the fill, stroke and visibility properties do not effect event processing.

    MDN

  6. final def asInstanceOf[T0]: T0

    Definition Classes
    Any
  7. val auto: StylePair[Builder, String]

    The element behaves as it would if the pointer-events property was not specified.

    The element behaves as it would if the pointer-events property was not specified. In SVG content, this value and the value visiblePainted have the same effect.

    MDN

  8. def clone(): AnyRef

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  9. val cssName: String

    Definition Classes
    Style
  10. final def eq(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  11. val fill: StylePair[Builder, String]

    SVG only.

    SVG only. The element can only be the target of a mouse event when the pointer is over the interior (i.e., fill) of the element. The values of the fill and visibility properties do not effect event processing.

    MDN

  12. def finalize(): Unit

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  13. final def getClass(): Class[_]

    Definition Classes
    AnyRef → Any
  14. final def isInstanceOf[T0]: Boolean

    Definition Classes
    Any
  15. val jsName: String

    Definition Classes
    Style
  16. final def ne(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  17. val none: StylePair[Builder, String]

    The element is never the target of mouse events; however, mouse events may target its descendant elements if those descendants have pointer-events set to some other value.

    The element is never the target of mouse events; however, mouse events may target its descendant elements if those descendants have pointer-events set to some other value. In these circumstances, mouse events will trigger event listeners on this parent element as appropriate on their way to/from the descendant during the event capture/bubble phases.

    MDN

  18. final def notify(): Unit

    Definition Classes
    AnyRef
  19. final def notifyAll(): Unit

    Definition Classes
    AnyRef
  20. val painted: StylePair[Builder, String]

    SVG only.

    SVG only. The element can only be the target of a mouse event when the mouse cursor is over the interior (i.e., 'fill') of the element and the fill property is set to a value other than none, or when the mouse cursor is over the perimeter (i.e., 'stroke') of the element and the stroke property is set to a value other than none. The value of the visibility property does not effect event processing.

    MDN

  21. val stroke: StylePair[Builder, String]

    SVG only.

    SVG only. The element can only be the target of a mouse event when the pointer is over the perimeter (i.e., stroke) of the element. The values of the stroke and visibility properties do not effect event processing.

    MDN

  22. final def synchronized[T0](arg0: ⇒ T0): T0

    Definition Classes
    AnyRef
  23. val visible: StylePair[Builder, String]

    SVG only.

    SVG only. The element can be the target of a mouse event when the visibility property is set to visible and the mouse cursor is over either the interior (i.e., fill) or the perimeter (i.e., stroke) of the element. The values of the fill and stroke do not effect event processing.

    MDN

  24. val visibleFill: StylePair[Builder, String]

    SVG only.

    SVG only. The element can only be the target of a mouse event when the visibility property is set to visible and when the mouse cursor is over the interior (i.e., fill) of the element. The value of the fill property does not effect event processing.

    MDN

  25. val visiblePainted: StylePair[Builder, String]

    SVG only.

    SVG only. The element can only be the target of a mouse event when the visibility property is set to visible and when the mouse cursor is over the interior (i.e., 'fill') of the element and the fill property is set to a value other than none, or when the mouse cursor is over the perimeter (i.e., 'stroke') of the element and the stroke property is set to a value other than none.

    MDN

  26. val visibleStroke: StylePair[Builder, String]

    SVG only.

    SVG only. The element can only be the target of a mouse event when the visibility property is set to visible and when the mouse cursor is over the perimeter (i.e., stroke) of the element. The value of the stroke property does not effect event processing.

    MDN

  27. final def wait(): Unit

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  28. final def wait(arg0: Long, arg1: Int): Unit

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  29. final def wait(arg0: Long): Unit

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from Style

Inherited from Serializable

Inherited from Serializable

Inherited from Product

Inherited from Equals

Inherited from AnyRef

Inherited from Any

Ungrouped