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/legacy/app/components/collapsible-section/collapsible-section.directi...

11 lines
566 B

<section class="collapsible-section" ng-class="{ '-expanded': $ctrl.expanded }">
<accessible-by-keyboard execute="$ctrl.toggle()"
link-aria-label="{{ ::$ctrl.sectionTitle }}"
link-class="collapsible-section--toggle-link"
span-class="collapsible-section--legend">
<span ng-bind="::$ctrl.sectionTitle"></span>
</accessible-by-keyboard>
<div class="collapsible-section--body toggle-slide-animation" ng-show="$ctrl.expanded">
<ng-transclude></ng-transclude>
</div>
</section>