mirror of
https://github.com/TryGhost/Ghost.git
synced 2024-12-26 20:34:02 +03:00
17 lines
298 B
JavaScript
17 lines
298 B
JavaScript
import Ember from 'ember';
|
|
|
|
export default Ember.Component.extend({
|
|
classNames: ['content-cover'],
|
|
|
|
onClick: null,
|
|
onMouseEnter: null,
|
|
|
|
click: function () {
|
|
this.sendAction('onClick');
|
|
},
|
|
|
|
mouseEnter: function () {
|
|
this.sendAction('onMouseEnter');
|
|
}
|
|
});
|