docs, notes and some cleanup...

Signed-off-by: Alex A. Naanou <alex.nanou@gmail.com>
This commit is contained in:
Alex A. Naanou 2019-07-13 00:02:15 +03:00
parent 236f748eda
commit de3d2de868

View File

@ -558,16 +558,13 @@ var BrowserViewMixin = {
__view_options_defaults__: { __view_options_defaults__: {
// Views are flat by default... // Views are flat by default...
// //
// NOTE: if false when generating a view out of a lister that // NOTE: if false with .renderUnique also false and including an
// included both a parent element and it's children // item with .children, the view will render nested elements
// (ex: .map()), this will render all the deeper than base // twice, once in their respective sub-tree and for the
// elements at least twice (once per parent node)... // second time in the list...
// ...currently there is not way to create a topology view //
// without modifying the actual topology... // XXX should we have an ability to skip children if the parent is
// (topology views are non-priority at this point) // not selected???
// XXX one way to do partial topology is to:
// - store a list of visible elements
// - render elements only once...
skipNested: true, skipNested: true,
}, },