bower install color-of-time --save
<script src="bower_components/color-of-time/dist/color-of-time.min.js"></script>
npm install color-of-time --save
<script src="node_modules/color-of-time/dist/color-of-time.min.js"></script>
angular.module('app', [
'color-of-time'
]);
<body data-ng-app="color-of-time">
<div color-of-time>
<!-- More code -->
</div>
</body>
<color-of-time properties="'color'">
Color Of Time
</color-of-time>
<color-of-time properties="'fill,color'">
<i class="icon github"/>
<p>
SEE THE CODE!
</p>
</div>
<div class="color"
color-of-time
increment="24"
skip="60*60*1"
properties="'color'">
Color Of Time
</div>
- increment (Default: 1): The number of seconds to skip ahead.
- rate (Default: 1000): Check every X number of milliseconds.
- skip (Default: 0): The number of seconds to skip ahead.
- properties (Default: 'background-color'): The css attributes to apply the color too (separate multiple properties with a comma).
I know, I know. I will get to it eventually.
I currently maintain this project alone, you can find more of my projects and contact me on my website. If you would like to be a contributor then please do!
MIT License
Copyright (c) 2018 Jeremy Quick
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
Give me some ideas and I just may work on them!