The code at:
for the file
//views/top.js
is not the same as in the webix-app-start.zip file.
The code at:
for the file
//views/top.js
is not the same as in the webix-app-start.zip file.
You’re right, but the doc starts with a bare bone example, showing the simplest version of the object a view can return.
At the end of the same (first) chapter, you’ll see a brief explanation of the second version of the return object (containing $ui and $oninit attributes).