DragController

semagrams.controllers.DragController$
See theDragController companion class

Attributes

Companion:
class
Graph
Supertypes
class Object
trait Matchable
class Any
Self type

Members list

Concise view

Type members

Classlikes

case class State(observer: Observer[Complex], callback: Unit => Unit)

The state of the DragController, typically contained in a Var

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

Value members

Concrete methods

Creates a new DragController

Creates a new DragController

Attributes