Hai guys, i have problem to get current action name in controller
this my example code
actions: {
editItem: function() {
// get action name
},
updateItem: function(params) {
// get action name
}
}
Hai guys, i have problem to get current action name in controller
this my example code
actions: {
editItem: function() {
// get action name
},
updateItem: function(params) {
// get action name
}
}
Questions need to be clear and concise, as there is a lot of room for interpretation since you provided a single sentence. From within the method you want access to the actionName that was invoked? As an argument of the method perhaps?
In any case, this is what I hoped you were asking for: JS Bin - Collaborative JavaScript Debugging
solved my problem … Thank you jasonmit