openmct/platform/commonUI/general
Pete Richards d7ddb96c4e [API] UMD Packaging (#1078)
* [Bundle] load filter with requirejs

* [Build] Use almond, wrap in UMD

Use almond for built version of application and wrap in UMD so that
it supports requirejs, commonjs, and basic browser loading.

* [Main] Can choose where to load app

MCT.run allows you to specify a dom element to load application
within.  If element is not specified, will use body.

* [MCT] set class on injected div

Set class on injected div so extra markup is not required.

* [Build] Re-enable optimize

* Add minimal bootstrap example
2016-07-07 14:25:23 -07:00
..
res Merge remote-tracking branch 'origin/open889' into open922 2016-05-25 09:55:09 -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 [API] UMD Packaging (#1078) 2016-07-07 14:25:23 -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.