Skip to content

Commit bc7bf1c

Browse files
committed
Add unAssignDrop to docs
Couldn't find it, but I figured it needs to be there because assigning a drop target doesn't do any DOM manipulations. Anyway, it took me some time to find it in the source & it would be a time-saver for others looking for it. Ref.: https://github.com/flowjs/flow.js/blob/master/src/flow.js#L435-L444
1 parent d0cae3a commit bc7bf1c

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -153,6 +153,7 @@ parameter must be adjusted together with `progressCallbacksInterval` parameter.
153153

154154
Note: avoid using `a` and `button` tags as file upload buttons, use span instead.
155155
* `.assignDrop(domNodes)` Assign one or more DOM nodes as a drop target.
156+
* `.unAssignDrop(domNodes)` Unassign one or more DOM nodes as a drop target.
156157
* `.on(event, callback)` Listen for event from Flow.js (see below)
157158
* `.off([event, [callback]])`:
158159
* `.off()` All events are removed.

0 commit comments

Comments
 (0)