State

semagrams.controllers.DragController$.State
case class State(observer: Observer[Complex], callback: Unit => Unit)

The state of the DragController, typically contained in a Var

Attributes

callback

a function that is called once when the drag finishes

observer

a function that is called with the new mouse position when the mouse moves

Graph
Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any

Members list

Concise view

Value members

Inherited methods

def productElementNames: Iterator[String]

Attributes

Inherited from:
Product
def productIterator: Iterator[Any]

Attributes

Inherited from:
Product