Home Manual Reference Source Repository
public class | source

BreakpointBehavior

Extends:

BaseBehavior → BreakpointBehavior

Defines the default behavior for a breakpoint function.

example usage

Method Summary

Public Methods
public

edit(renderingContext: *, shape: *, datum: *, dx: *, dy: *, target: *)

Inherited Summary

From class BaseBehavior
public get

The class to add to the shapes when selected.

public set

The class to add to the shapes when selected.

public get

An array containing all the selected items of the layer.

public

Destroy the references to the selected items.

public

edit(renderingContext: Object, shape: BaseShape, datum: Object | Array, dx: Number, dy: Number, $target: Element)

Interface method to override in order to define its particular behavior when interacted with.

public

initialize(layer: *)

public

select($item: Element, datum: Object)

public

toggleSelection($item: Element, datum: Object)

public

unselect($item: Element, datum: Object)

Public Methods

public edit(renderingContext: *, shape: *, datum: *, dx: *, dy: *, target: *) source

Interface method to override in order to define its particular behavior when interacted with.

Override:

BaseBehavior#edit

Params:

NameTypeAttributeDescription
renderingContext *
shape *
datum *
dx *
dy *
target *