Action where is the function


#1

Hi I have take a ember project and I have a problem to retrieve the function that an action call…my code

<button class="btn btn-info" {{action onEditImage}}>

so this code are in profile.hbs so I aspet to find onEditImage function in components/profile.js but I don’t find this function.Usually action want “” so {{action “onEditImage”}} …Where I can find this function?


#2

resolve there is a component that translate

{{component componentToRender ecc… onEditImage = (action ‘startEditImage’) }}