blob: cdc3408e1b5b4ed62d213d305c1288a3ed9c82f2 [file] [log] [blame]
Matteo Scandolofc4b37b2017-02-02 12:18:47 -08001<div class="row">
2 <div class="col-xs-12">
3 <h1>Xos Sample GUI Dashboard Extension</h1>
4 </div>
5 <div class="col-xs-12">
6 <p>From our sample GUI extension module we are able to extend the dashboard.</p>
7 </div>
8</div>
9<div class="row">
10 <div class="col-sm-4">
11 To add a component to the dashboard you can invoke the <code>XosComponentInjector</code> service as in this example:
12 </div>
13 <div class="col-sm-8">
14 <pre>
15 XosComponentInjector.injectComponent(
16 '#dashboard-component-container',
17 'dashboardExtension',
18 {},
19 '',
20 false
21 );
22 </pre>
23 </div>
24</div>