1
我正在使用angular-xeditable api.Could你可以告訴我如何在表單'加載'並按'添加行'按鈕時將焦點置於控件中?Angular X-editable set focus event
有一個以上api.But我不知道如何與上述scenarios.Thanks用它命名爲$activate(name)
方法。
// add user
$scope.addUser = function() {
$scope.users.push({
id: $scope.users.length+1,
name: '',
status: null,
group: null,
isNew: true
});
};