createViewOf

16 views
Skip to first unread message

Nicholas Bilyk

unread,
Aug 4, 2022, 12:57:46 PMAug 4
to 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

unread,
Aug 4, 2022, 1:12:30 PMAug 4
to StarUML
Stepping through the code it looks like the createViewAndRelationships branch never uses the viewInitializer

StarUML

unread,
Aug 4, 2022, 11:09:50 PMAug 4
to 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님이 작성:
Reply all
Reply to author
Forward
0 new messages