Skip to Content
Industrial Internet Application Development
book

Industrial Internet Application Development

by Alena Traukina, Jayant Thomas, Prashant Tyagi, Veera Kishore Reddipalli
September 2018
Intermediate to advanced
412 pages
11h 12m
English
Packt Publishing
Content preview from Industrial Internet Application Development

Adding more UI components to the created web application

In this example, we will add the px-gauge component of GE's Predix Design System. To accomplish this task, proceed as follows:

  1. Install the px-gauge dependency:
 bower install -S px-gauge
  1. Add the px-gauge dependency to the index.html file:
<link rel="import" href="bower_components/px-gauge/px-gauge.html"/>
  1. Replace the basic text value in the device-card.html file with the following code:
<px-gauge value="{{value}}"></px-gauge>
  1. Redeploy the application:
cf push
  1. To open the deployed application, insert the https://ui-bleeding-blue.run.aws-usw02-pr.ice.predix.io link into a browser line:
UI of the deployed web app with the px-gauge component
For more UI components, explore the ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

Hands-On Industrial Internet of Things

Hands-On Industrial Internet of Things

Giacomo Veneri, Antonio Capasso
What Employees Want Most in Uncertain Times

What Employees Want Most in Uncertain Times

Kristine W. Powers, Jessica B.B. Diaz

Publisher Resources

ISBN: 9781788298599Supplemental Content