Created
September 14, 2015 13:39
-
-
Save mszoernyi/ae2e0a423623e82ae88e to your computer and use it in GitHub Desktop.
Getting `had no action handler for: doIt` even if action handler is defined in component
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
class CreativeUploader extends Ember.Component | |
actions: | |
doIt: -> | |
debugger | |
x = 1 | |
`export default CreativeUploader` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
each image in files | |
if showImageOnly | |
.icon-delete click="'doIt'" | |
img id="placeholder" src=image.fileUrl alt="placeholder" | |
else | |
figure | |
div | |
span | |
img id="placeholder" src=image.fileUrl alt="placeholder" | |
figcaption | |
label Content Type | |
= image.fileContentType | |
figcaption | |
label File Size | |
= as-filesize image.file.size | |
figcaption | |
label Width | |
= image.fileWidth | |
figcaption | |
label Height | |
= image.fileHeight |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment