Drag and drop with Web Components/Custom Elements instead of ports?

something like the following in the view?

....
Html.node "my-element"
    [ Html.Attributes.property "xCoord" myX
    , Html.Attributes.property "yCoord" myY
    ]
    [ ... ]