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

10 lines
413 B

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