Home Manual Reference Source Repository
import TimeContextBehavior from 'waves-ui/src/behaviors/time-context-behavior.js'
public class | source

TimeContextBehavior

TimeContextBehavior is used internally in Layers to modify their TimeContext. This object is different from other Shapes Behaviors and exists mostly to decrease the size of the Layer. All the code here could be considered as part of the layer.

Method Summary

Public Methods
public

edit(layer: *, dx: *, dy: *, target: *)

public

stretch(layer: *, dx: *, dy: *, target: *)

Public Methods

public edit(layer: *, dx: *, dy: *, target: *) source

Params:

NameTypeAttributeDescription
layer *
dx *
dy *
target *

public stretch(layer: *, dx: *, dy: *, target: *) source

Params:

NameTypeAttributeDescription
layer *
dx *
dy *
target *