danilovaz/my_dashboard

View on GitHub
app/views/my_dashboard/widgets/number.html

Summary

Maintainability
Test Coverage
<p class="title" data-bind="title"></p>

<p class="value" data-bind="current | shortenedNumber | prepend prefix | append suffix"></p>

<p class="percentage">
  <i data-bind-class="arrow"></i>
  <span class="value" data-bind="difference"></span>
</p>

<p class="info" data-bind="moreinfo"></p>

<p class="updated" data-bind="updatedAtMessage"></p>