Signed-off-by: Alex A. Naanou <alex.nanou@gmail.com>
This commit is contained in:
Alex A. Naanou 2019-07-14 10:58:24 +03:00
parent de3d2de868
commit 1da1cb8114

View File

@ -545,7 +545,9 @@ var getMixinRoot = function(o, attr){
// View mixin... // View mixin...
// //
// //
// XXX can/should we use a Proxy object for this??/ // XXX can/should we use a Proxy object for this???
// XXX would be nice to be able to thread a set of options int the view
// when constructing via .search(..) and friends...
var BrowserViewMixin = { var BrowserViewMixin = {
// //
// source: <object>, // source: <object>,
@ -562,10 +564,12 @@ var BrowserViewMixin = {
// item with .children, the view will render nested elements // item with .children, the view will render nested elements
// twice, once in their respective sub-tree and for the // twice, once in their respective sub-tree and for the
// second time in the list... // second time in the list...
// skipNested: true,
// XXX should we have an ability to skip children if the parent is // XXX should we have an ability to skip children if the parent is
// not selected??? // not selected???
skipNested: true, // XXX might also be a good idea to be able to disable sub-trees...
//skipDisabledTree: true,
}, },
// Construct options by merging option defaults with .source options... // Construct options by merging option defaults with .source options...