簡體   English   中英

具有angular-ui / ui-sortable的Portlet

[英]Portlet with angular-ui/ui-sortable

我正在嘗試將angular-ui / ui-sortable用於門戶網站應用程序。 我的應用程序將類似於Jquery UI sortable JQuery UI Sortable Portlet中給出的portlet示例。

有可能有人舉一個例子或指向我正確的方向,以便使用angular-ui / ui-sortable實現它嗎? 我在angular-ui / ui-sortable中問了這個問題,他們把我引到了Stack Overflow Issue portlet示例#356中。

如果我了解您要查找的內容,則使用連接列表應該可以滿足您的目的:

示例筆

    <div ui-sortable="sortableOptions" class="apps-container screen floatleft" ng-model="list1">
      <div class="app" ng-repeat="app in list1">{{$index}} {{app.title}}</div>
    </div>
    <div ui-sortable="sortableOptions" class="apps-container screen floatleft" ng-model="list2">
      <div class="app" ng-repeat="app in list2">{{$index}} {{app.title}}</div>
    </div>
    <div ui-sortable="sortableOptions" class="apps-container screen floatleft" ng-model="list3">
      <div class="app" ng-repeat="app in list3">{{$index}} {{app.title}}</div>
    </div>

暫無
暫無

聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.

 
粵ICP備18138465號  © 2020-2024 STACKOOM.COM