openmct/platform/commonUI/general/res/templates
Pete Richards f0b9292458 [Tree] Add additional api methods
Add methods to tree view via scope for more fine grained control.

Can supply a "allowSelection" function which should return true
if a given selection is allowed.  This is executed before a node
is selected and allows you to prevent selection.  Before this, if
you wanted to prevent the selection from changing, you had to wait
for it to change and then change it back to the original value.

Can also supply an "onSelection" function which is called when a
value is successfully selected.  This allows you to handle the
selection event without waiting for digest.  You can still $watch
"selectedObject" if you prefer.

Additionally, this changes the tree node to trigger a digest only
when the value is set via a MouseClick, instead of every time.

Tidies up directive scope bindings to clarify usage.

https://github.com/nasa/openmct/issues/1360
2016-12-20 16:43:23 -08:00
..
containers [Documentation] Updated copyright statement. Fixes #1081 2016-07-12 16:55:57 -07:00
controls squash merge open933 into integration-1089, resolve merge conflicts. 2016-10-12 13:47:56 -07:00
menu [Frontend] Refactor glyphs to classes 2016-08-01 14:33:25 -07:00
tree [Frontend] Refactor glyphs to classes 2016-08-01 14:33:25 -07:00
bottombar.html [Documentation] Updated copyright statement. Fixes #1081 2016-07-12 16:55:57 -07:00
indicator.html [Frontend] Refactor glyphs to classes 2016-08-01 14:33:25 -07:00
label.html [Frontend] Refactor glyphs to classes 2016-08-01 14:33:25 -07:00
message-banner.html [Frontend] Refactor glyphs to classes 2016-08-01 14:33:25 -07:00
object-inspector.html [Documentation] Updated copyright statement. Fixes #1081 2016-07-12 16:55:57 -07:00
progress-bar.html Merge open155 > github/master 2015-10-30 16:20:57 -07:00
subtree.html [Tree] Add additional api methods 2016-12-20 16:43:23 -08:00
tree-node.html [Documentation] Updated copyright statement. Fixes #1081 2016-07-12 16:55:57 -07:00
tree.html [Documentation] Updated copyright statement. Fixes #1081 2016-07-12 16:55:57 -07:00