OpenProject is the leading open source project management software.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 
openproject/frontend/app/components/wp-buttons/wp-button.template.html

15 lines
493 B

<label for="{{ ::vm.buttonId }}"
ng-attr-accesskey="{{ ::vm.activeAccessKey }}"
class="hidden-for-sighted">
{{ vm.label }}
</label>
<button id="{{ ::vm.buttonId }}"
class="button"
title="{{ vm.label }}"
ng-click="vm.performAction()"
ng-disabled="vm.disabled || vm.isActive()"
ng-class="{ '-active': vm.isActive() }">
<i class="{{ ::vm.iconClass }} button--icon"></i>
<span class="hidden-for-sighted">{{ vm.label }}</span>
</button>