Skip to content

Webvowl nodes edit capture event #182

Open

Description

@saravanch2018

Dear Team,
While I could not find extensive documentation about the webvowl properties/methods, I had some difficulty understanding it. My team had few problems with some negative testing. A new node is added by simply clicking in the graph area with a default name say node 7. On clicking outside of the node it is immediately saved to the backend.
The developer by default uses the onblur event on the node to trap the event and execute some backend code. But I did not want that to happen. Only if the user presses enter while having focus on the currently editing node, it should be saved to the database. If user clicks outside of the graph, this should not trigger any backed logic.

In order to do that, I have tried using mouse clicks. But I am unable to differentiate between a onblur and the mouseclick in the webvowl node object. This is a problem because I allow the user to save the node to the database only on hitting enter on the currently selected node.

I request you to provide me either to the documentation of the attributes and methods of webvowl or how to differentiate between a mouseclick and an onblur using the webvowl node's attributes/methods? Any help is appreciated. Even if there is any sample link of a demo that will be great

Activity

  1. omarryhan commented on Dec 6, 2021

    @omarryhan

    Any luck @saravanch2018? I'm facing a similar issue.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions