@v4fire/client
Version:
V4Fire client core library
12 lines (9 loc) • 343 B
Markdown
# super/i-block/directives/event
This module provides a directive to attach event listeners to a DOM node. In difference of `v-bind` directive, this directive supports some extra events, like "dnd".
```
< .&__scroller v-e:dnd = { &
onDragStart: onScrollerDragStart,
onDrag: onScrollerDrag,
onScrollerDragEnd: onScrollerDragEnd
} .
```