onDrag property

Callback for when an element is being dragged

Implementation

@override
MouseEventCallback? get onDrag =>
    (props[_$key__onDrag___$UbiquitousDomPropsMixin] ?? null)
        as MouseEventCallback?;
  1. @override
set onDrag (MouseEventCallback? value)

Callback for when an element is being dragged

Implementation

@override
set onDrag(MouseEventCallback? value) =>
    props[_$key__onDrag___$UbiquitousDomPropsMixin] = value;