dropeffect property

  1. @override
  2. @Accessor(key: 'aria-dropeffect')
dynamic dropeffect

Indicates what functions can be performed when the dragged object is released on the drop target. This allows assistive technologies to convey the possible drag options available to users, including whether a pop-up menu of choices is provided by the application. Typically, drop effect functions can only be provided once an object has been grabbed for a drag operation as the drop effect functions available are dependent on the object being dragged.

More than one drop effect may be supported for a given element. Therefore, the value of this attribute is a space-delimited set of tokens indicating the possible effects, or none if there is no supported operation. In addition to setting the aria-dropeffect attribute, authors SHOULD show a visual indication of potential drop targets.

See: developer.mozilla.org/en-US/docs/Web/Accessibility/ARIA/Attributes/aria-dropeffect TODO: deprecate

Implementation

@override
@Accessor(key: 'aria-dropeffect')
dynamic get dropeffect =>
    (props[_$key__dropeffect___$AriaPropsMixin] ?? null) as dynamic;
  1. @override
  2. @Accessor(key: 'aria-dropeffect')
void dropeffect=(dynamic value)

Indicates what functions can be performed when the dragged object is released on the drop target. This allows assistive technologies to convey the possible drag options available to users, including whether a pop-up menu of choices is provided by the application. Typically, drop effect functions can only be provided once an object has been grabbed for a drag operation as the drop effect functions available are dependent on the object being dragged.

More than one drop effect may be supported for a given element. Therefore, the value of this attribute is a space-delimited set of tokens indicating the possible effects, or none if there is no supported operation. In addition to setting the aria-dropeffect attribute, authors SHOULD show a visual indication of potential drop targets.

See: developer.mozilla.org/en-US/docs/Web/Accessibility/ARIA/Attributes/aria-dropeffect TODO: deprecate

Implementation

@override
@Accessor(key: 'aria-dropeffect')
set dropeffect(dynamic value) =>
    props[_$key__dropeffect___$AriaPropsMixin] = value;