DragandDrop geadded
This commit is contained in:
14
www/templates/spiel3.html
Normal file
14
www/templates/spiel3.html
Normal file
@@ -0,0 +1,14 @@
|
||||
<ion-view view-title="Das Tier macht...">
|
||||
<ion-content class="padding">
|
||||
|
||||
<div class="row text-center">
|
||||
<ul class="draglist">
|
||||
<li ng-repeat="spiel in spiele" ng-drop="true" ng-drop-success="onDropComplete($index, $data,$event)">
|
||||
<div ng-drag="true" ng-drag-data="spiel" ng-class="spiel.name">
|
||||
<img class="myborder" src="img/{{ spiel.bild }}"width="96" height="96" alig="center" ng-click="play('/android_asset/www/sounds/' + spiel.sound1)">
|
||||
</div>
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
</ion-content>
|
||||
</ion-view>
|
||||
Reference in New Issue
Block a user