- Is the remove-model event.
- Returns the bag for a drake instance.
- Whenever a drake instance created with the dragula directive emits an event, that event is replicated on the Angular $scope where the drake has an associated bag , and prefixed with the name on its bag .
- Creates a bag scoped under scope and identified by name .
- name is the name that identifies the bag under scope
Drag and drop so simple it hurts
You’ll need to pass in
to your module when booting up your application.
This package isn’t very different from
if you need to learn more about
directive (as seen in the demo) that allows you to group containers together, as long as they belong to the same scope. That grouping of containers is called a
creates a new isolate scope, which can sometimes cause issues with dragging between a bag with multiple containers. To avoid this you can pass in the scope you want the bag to be stored on (and fire events on) by setting the
is compiled from array, you may wish to have it synced. For that purpose you need to provide model by setting the
event is fired before the model is synced. For that purpose you need to use the
event. The same behavior exists in the
event. Therefore is the
event. Further details are available under
), you’ll have to use the
directive emits an event, that event is replicated on the Angular
Note that these derived events don’t expose the DOM elements directly. The elements get wrapped in
. You should provide the entire