15. drag-source

drag-source(key, value, ..., key, value)

Inserts a button in generated content which executes a command (see Chapter 6, Commands written in the Java™ programming language in XMLmind XML Editor - Commands) when it is dragged. There is no need to press any modifier key (e.g. Alt) when a drag-source is dragged.

Identical to command-button except that:

XHTML example:

a[href][class="drag-source"]:after {
    content: " " drag-source(icon, icon(drag),
                             command, "xhtml.drag");
    vertical-align: text-top;