mirror of
https://github.com/nasa/openmct.git
synced 2025-06-12 20:28:14 +00:00
[Representation] Handle edge cases
Handle edge cases (e.g. directive priorities, race conditions) to ensure that mct-representation and mct-include display correctly when added to or removed from the DOM.
This commit is contained in:
@ -84,6 +84,9 @@ define(
|
||||
// Use the included controller to populate scope
|
||||
link: link,
|
||||
|
||||
// May hide the element, so let other directives act first
|
||||
priority: -1000,
|
||||
|
||||
// Two-way bind key, ngModel, and parameters
|
||||
scope: { key: "=", ngModel: "=", parameters: "=" }
|
||||
};
|
||||
|
Reference in New Issue
Block a user