Skip to content

the ng-click doesn't work #129

@yan647

Description

@yan647

Drag-and-drop can be implemented, but the ng-click doesn't work; if i delete the drag-and-drop plug-in, the ng-click can work.
the code like this:
js:

$scope.sortable = [{'name':'张春玲','age':28},{'name':'王晰','age':26},{'name':'吴正青','age':66}];
$scope.click=function(){
         console.log('success');
};

html:

<div class="sortable-container" sv-root sv-part="sortable">
        <div ng-repeat="item in sortable" sv-element="opts" class="well" ng-click="click()">
            {{item}}
        </div>
</div>

thank you very much!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions