how to change config(options) after new viewer
Hi. Can you elaborate?
`const viewer = new Viewer({
container:xx,
customProps:‘abc’
})
<button onclick=‘changeProps(‘bcd’)’>change abc to bcd
function changeProps(str){
viewer.setConf({customProps:str}) // has any method to set conf?
}
`
like the simple demo,click the button to change customPorps in my custom model and diagram rerender by this props