createViewOf

26 visualizzazioni
Passa al primo messaggio da leggere

Nicholas Bilyk

da leggere,
4 ago 2022, 12:57:4604/08/22
a StarUML
In the documentation, app.factory.createViewOf is expected to take a viewInitializer, however it doesn't seem to be called.

app.factory.createViewOf({
    mode,
    diagram,
    x: 0,
    y: 0,
    viewInitializer: function (elem) {
         console.log('view initializer') // Not called
    }
})

Nicholas Bilyk

da leggere,
4 ago 2022, 13:12:3004/08/22
a StarUML
Stepping through the code it looks like the createViewAndRelationships branch never uses the viewInitializer

StarUML

da leggere,
4 ago 2022, 23:09:5004/08/22
a StarUML
Hello,

Thank you for your feedback.

Could you please provide a complete code to reproduce your problem?

Thanks,
StarUML Team

2022년 8월 5일 금요일 오전 2시 12분 30초 UTC+9에 nbi...@gmail.com님이 작성:
Rispondi a tutti
Rispondi all'autore
Inoltra
0 nuovi messaggi