File: src/elements/oreesh-loading-indicator/oreesh-loading-indicator.html
<script>
/**
Loading indicator
// Can be created dynamically
var loadingIndicator = new OreeshLoadingIndicator();
<!-- Or via HTML -->
<oreesh-loading-indicator></oreesh-loading-indicator>
@class oreesh-loading-indicator
**/
/**
Shows the loading-indicator.
@method open
**/
/**
Hides the loading indicator.
@method close
**/
/**
Custom z-index style for loading indicator.
@attribute z-index
@type Number
**/
</script>
<dom-module id="oreesh-loading-indicator">
<template>
<link rel="stylesheet" is="custom-style" href="./oreesh-loading-indicator.css" />
<div class='box'>
<img source="<%-oreeshPath%>/img/loading_indicator.gif">
</div>
</template>
</dom-module>
<script src="./oreesh-loading-indicator.js"></script>