You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Nov 15, 2019. It is now read-only.
I would like to be able to pass additional arguments to my edit-callback. Normally with directives this is done by passing a function expression instead of a function reference. e.g. `edit-callback="onEdit(userId, text)" On the directive side it can be handled with something like:
var fn = $parse($attrs.editCallback);
fn($scope, { text: text, element: element });
Are you open to a change like that?
The text was updated successfully, but these errors were encountered:
I would like to be able to pass additional arguments to my edit-callback. Normally with directives this is done by passing a function expression instead of a function reference. e.g. `edit-callback="onEdit(userId, text)" On the directive side it can be handled with something like:
Are you open to a change like that?
The text was updated successfully, but these errors were encountered: