1
0
mirror of https://github.com/Radarr/Radarr.git synced 2026-04-17 21:26:22 -04:00
Files
Radarr/src/UI/Series/Index/Posters/SeriesPostersItemView.js
2015-02-14 19:12:31 +01:00

19 lines
594 B
JavaScript

var SeriesIndexItemView = require('../SeriesIndexItemView');
module.exports = SeriesIndexItemView.extend({
tagName : 'li',
template : 'Series/Index/Posters/SeriesPostersItemViewTemplate',
initialize : function() {
this.events['mouseenter .x-series-poster'] = 'posterHoverAction';
this.events['mouseleave .x-series-poster'] = 'posterHoverAction';
this.ui.controls = '.x-series-controls';
this.ui.title = '.x-title';
},
posterHoverAction : function() {
this.ui.controls.slideToggle();
this.ui.title.slideToggle();
}
});