MouseOver

doodle.interact.algebra.MouseOver
trait MouseOver extends Algebra

Algebra for elements that can respond to Mouseover events

Attributes

Source
MouseOver.scala
Graph
Supertypes
trait Algebra
class Object
trait Matchable
class Any

Members list

Type members

Inherited types

type Drawing[_]

The effect type that methods on this algebra produce. Represents an effect that, when run, will draw something and produce a value.

The effect type that methods on this algebra produce. Represents an effect that, when run, will draw something and produce a value.

Attributes

Inherited from:
Algebra
Source
Algebra.scala

Value members

Abstract methods

def mouseOver[A](img: Drawing[A]): (Drawing[A], Stream[Pure, Unit])

Attaches a mouse over event listener to the given img. The stream produces an event every time the mouseOver event fires.

Attaches a mouse over event listener to the given img. The stream produces an event every time the mouseOver event fires.

Attributes

Source
MouseOver.scala

Implicits

Inherited implicits

implicit val drawingInstance: Monad[Drawing]

Attributes

Inherited from:
Algebra
Source
Algebra.scala