1.0.2
- new event:
- @drop-not-allowed
Event
@drop not allowed
for either being ano-drop
zone or not suiting the validation rules at a specific state
Example
<Container @drop-not-allowed="dropNotAllowed">
dropNotAllowed ({ payload, container }) {
return false
}
Parameters
- payload :
object
: the payload object that is returned by get-child-payload. It will be undefined in case get-child-payload is not set. - container :
object
: return the container which the current payload was unable to be dropped.