Skip to content
This repository was archived by the owner on Feb 14, 2023. It is now read-only.
This repository was archived by the owner on Feb 14, 2023. It is now read-only.

Add @move listener #15

Closed
Closed
@DrSensor

Description

@DrSensor

Emit move event with SVG.Element as emitted value when moving the annotation.
The event is emitted after the movement is finish.
The use case is when you want to save/send/sync the coordinate of the annotation.

Usage

<v-annotation @move="el => $http.post('/a/1', [ el.x(), el.y(), el.width(), el.height() ])" >

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions