我必须在单击的元素上显示一个编号栏。 这是我的.jsp:AngularJs在特定元素上的显示
的List.jsp
<div class="mb-pane" ng-style="{height: panelsHeight}">
<file-system-meeting refresh="global.refreshMeetings"></file-system-meeting>
contentList.jsp:
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %>
<!-- the "more" button and "actions buttons". This should be refactored
<div class="pull-right"></div>-->
<!-- the core meeting display stuff. Really really simple. We should take care of the forced "size". -->
<div class="media">
<div class="media-left">
<!-- ng-click='progressRun()' -->
<a href="#meetings/{{meeting.id}}" ng-click="progressRun($event)" >
<!-- <img ng-if="meeting.iconId" class="mb-repo-icon" ng-src="<c:url value="/restful/meetings/" />{{meeting.id}}/icons/{{meeting.iconId}}/thumbnail" /> -->
<img ng-if="!meeting.iconId" class="mb-repo-icon" src="<c:url value="/img/thumbnail.png" />" />
</a>
</div>
<div class="media-body">
<h3>{{ meeting.titolo }}</h3>
<h4>Sub Title</h4>
<h6>Creato Da: {{meeting.autore}}</h6>
<div id="prog" class="progress" ng-show="runp">
<div class="progress-bar" role="progressbar" aria-valuenow="60" aria-valuemin="0" aria-valuemax="100">
60%
</div>
</div>
</div>
<div class="media-right">
<h5>Part: {{meeting.num_partecipanti}}</h5>
<h5>Doc: {{meeting.num_doc}}</h5>
<h5>Durata: {{meeting.durata}} min</h5>
</div>
</div>
如何在点击元素上显示进度条?
感谢。
你可能想看看[ngProgress(http://victorbjelkholm.github.io/ngProgress/)看看你是否可以使用也许或者看看他们的代码至少如何工作。 – rrd