(arg1?: any, arg2?: any)
| 111 | constructor(from: Exclude<T, object>, props?: SpringUpdate<T>) |
| 112 | constructor(props?: SpringUpdate<T>) |
| 113 | constructor(arg1?: any, arg2?: any) { |
| 114 | super() |
| 115 | if (!is.und(arg1) || !is.und(arg2)) { |
| 116 | const props = is.obj(arg1) ? { ...arg1 } : { ...arg2, from: arg1 } |
| 117 | if (is.und(props.default)) { |
| 118 | props.default = true |
| 119 | } |
| 120 | this.start(props) |
| 121 | } |
| 122 | } |
| 123 | |
| 124 | /** Equals true when not advancing on each frame. */ |
| 125 | get idle() { |