Vue Treeview @treeview:loadchildren


I am using a treeview with @treeview:loadchildren=“loadAgents”
I am not allowed to pass any custom data (@treeview:loadchildren=“loadAgents(custom)”) with loadAgents because then the done function is not available…

Beside this… is there a way to resize the preloader ?

Any ideas?



You can just use it like so:

@treeview:loadchildren="(event, done) => loadAgents(custom, done)"

Cool, thanks! Do you know how to resize the preloader?

Something like this in CSS:

.treeview .treeview-preloader {
  --f7-preloader-size: 10px;