Use one-time bindings on dashboard child objects

Issue #882 resolved
Brian Lewis repo owner created an issue

In angularjs a one-timing binding is indicated by :: in the binding e.g.

dashboard='::vm.dashboard'

The first time this resolves to a truthy value, it is updated and the binding is never checked again.

The bindings for

  • dashboard
  • options
  • group

can be one-time.

Note that with crosstab objects they do not change even when re-filtered.

The one-time bindings have a negligible performance impact; changing them is more about a reminder of what is actually happening - ie these bindings are about setup, not about monitoring. selected-child and option-change by contrast must be continually re-evaluated.

Comments (1)

  1. Log in to comment