openmct/platform/commonUI/general
Charles Hacskaylo 7904989a23 [Frontend] Added transitional animation to Edit mode
fixes #709
- When going from browse to edit mode, the wrapper
around the object being edited will now transition in
from its edges, and the edit controls toolbar will
animate its height;
- There is no transition applied for going from edit
to browse; to do this we'd need to mod the JS on
exiting to look for the end of an animation event;
- Tested in Chrome, Safari and Firefox;
- May not be smooth with very complex objects
like Layouts with a large number of components;
- Added transitional animations to .l-object-wrapper
and .l-edit-controls;
- New 'animTo' mixin added to _effects.scss;
2016-06-01 19:18:55 -07:00
..
res [Frontend] Added transitional animation to Edit mode 2016-06-01 19:18:55 -07:00
src Merge remote-tracking branch 'origin/open889' into open922 2016-05-25 09:55:09 -07:00
test [Test] Add spy method for addClass 2016-05-25 10:11:34 -07:00
bundle.js [Code Style] Run gulp fixstyle 2016-05-19 11:29:13 -07:00
README.md [Common UI] Document mct-scroll-* directives 2015-02-25 16:34:51 -08:00

Directives

  • mct-scroll-x is an attribute whose value is an assignable Angular expression. This two-way binds that expression to the horizontal scroll state of the element on which it is applied.
  • mct-scroll-y is an attribute whose value is an assignable Angular expression. This two-way binds that expression to the vertical scroll state of the element on which it is applied.