Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
Simplified compact template for AngualrJS Device Directive.
<div class="ly-device">
<div class="ly-content">
<div class="ly-status">
<div class="ly-execute" ng-click="execute(status.function)">
<button class="ly-button"></button>
<div class="ly-spinner ly-animation" ng-if="device.pending">
<div class="ly-bounce-1"></div>
<div class="ly-bounce-2"></div>
<div class="ly-bounce-3"></div>
</div>
</div>
<div class="ly-description">
<p class="ly-name" ng-bind="device.name"></p>
<p class="ly-extras ly-updated-animation" ng-bind="status.name"></p>
</div>
</div>
</div>
</div>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment