$
This commit is contained in:
@@ -35,13 +35,13 @@ export default class View {
|
||||
this.updateMenu(document.getElementById(`menu0-${e.name}`).innerText, "next")
|
||||
}
|
||||
|
||||
this.zone.appendChild(elem)
|
||||
|
||||
riot.mount(elem, {
|
||||
name: e.name,
|
||||
count: e.count,
|
||||
idd: `menu0-${e.name}`
|
||||
}, "selectorfragment")
|
||||
|
||||
this.zone.appendChild(elem)
|
||||
})
|
||||
}
|
||||
|
||||
@@ -55,12 +55,13 @@ export default class View {
|
||||
renderPath(path) {
|
||||
this.path.innerHTML = ""
|
||||
let elem = document.createElement("locfragment")
|
||||
this.path.appendChild(elem)
|
||||
|
||||
riot.mount(elem, {
|
||||
msg: path.filter(Boolean).join(" ► ")
|
||||
}, "locfragment")
|
||||
|
||||
this.path.appendChild(elem)
|
||||
|
||||
log("Loc->View", `Chemin change ${path}`)
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user