Studio for WinJS Dependencies

Studio for JS controls have dependencies on external files, such as JavaScript and CSS files. The controls require the following dependencies:

JavaScript:

      jquery-1.8.1.js

      jquery-ui-1.8.23.custom.min.js

      jquery.c1.ui.js

      wijwrapper.js


CSS:

      jquery.c1.ui.css

      jQuery UI theme CSS (such as, C1Wijmo.UI.1.0/themes/metro/jquery-wijmo.css)

These dependencies are needed on any page you want to use the composite chart control, and they can be linked to, like in the following example:

<script src="///C1Wijmo.UI.1.0/js/jquery-1.8.1.min.js" type="text/javascript"></script>

       <script src="///C1Wijmo.UI.1.0/js/jquery-ui-1.8.23.custom.min.js" type="text/javascript"></script>

       <script src="///C1Wijmo.UI.1.0/js/c1.ui.js" type="text/javascript"></script>

       <script src="///C1Wijmo.UI.1.0/js/wijwrapper.js" type="text/javascript"></script>

       <link href="///C1Wijmo.UI.1.0/themes/metro/jquery-wijmo.css" rel="stylesheet" type="text/css">

       <link href="///C1Wijmo.UI.1.0/css/c1.ui.css" rel="stylesheet" type="text/css">

After adding a reference to the WinJS controls|topic=Adding a Reference to the Studio for WinJS Controls, you can also locate the JS and CSS files in your references and drag them to your page to add the dependencies automatically.


Send us comments about this topic.
Copyright © GrapeCity, inc. All rights reserved.