Code Monkey home page Code Monkey logo

Comments (4)

nikku avatar nikku commented on June 10, 2024 1

@corocoto Please share with us a screen capture that provides additional context. If you seek to get an elements.changed event during direct editing (cf. below), then you'll see that this is not the case. It only commits on unfocus, ENTER or another user action.

capture 5Qu5Zk_optimized

from bpmn-js.

nikku avatar nikku commented on June 10, 2024 1

@corocoto Label editing, unless commited is ephemeral. Hence it never reaches the underlying model, and no elements.changed is called.

If you build upon the change to happen please raise an issue and clearly lay out your use case.

from bpmn-js.

corocoto avatar corocoto commented on June 10, 2024

@nikku, yeah, I suppose your screencast with shown scenario fully covers my case. Thanks!

But I have a small counter question. The scenario shown below will also not trigger the elements.changed event? (node's label creation process)

2023-12-28.10.03.15.mov

And if it is, I would like to understand why the event didn't dispatch. I mean, I want to understand why it works so. Because for me, any manipulation with an element (including text editing) - is also refer to an element editing.

from bpmn-js.

corocoto avatar corocoto commented on June 10, 2024

@nikku, I see. Thanks a lot for description of working process! It's really useful information that should to know.

from bpmn-js.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.