|
Last change
on this file since e4c61dd was e4c61dd, checked in by istevanoska <ilinastevanoska@…>, 6 months ago |
|
Prototype 1.1
|
-
Property mode
set to
100644
|
|
File size:
515 bytes
|
| Line | |
|---|
| 1 | export default function BrushEvent(type, {
|
|---|
| 2 | sourceEvent,
|
|---|
| 3 | target,
|
|---|
| 4 | selection,
|
|---|
| 5 | mode,
|
|---|
| 6 | dispatch
|
|---|
| 7 | }) {
|
|---|
| 8 | Object.defineProperties(this, {
|
|---|
| 9 | type: {value: type, enumerable: true, configurable: true},
|
|---|
| 10 | sourceEvent: {value: sourceEvent, enumerable: true, configurable: true},
|
|---|
| 11 | target: {value: target, enumerable: true, configurable: true},
|
|---|
| 12 | selection: {value: selection, enumerable: true, configurable: true},
|
|---|
| 13 | mode: {value: mode, enumerable: true, configurable: true},
|
|---|
| 14 | _: {value: dispatch}
|
|---|
| 15 | });
|
|---|
| 16 | }
|
|---|
Note:
See
TracBrowser
for help on using the repository browser.