function _initEvents() {
  var playAction = _onAction.bind( _this, 'play' );
  var stopAction = _onAction.bind( _this, 'stop' );

  _this.childElements.playBtn.addEventListener( 'click', playAction );
  _this.childElements.closeBtn.addEventListener( 'click', stopAction );
}
/**
* Function used to initialize events.
*/
Function used to initialize events.
Function used to initialize events .
function _initEvents() {
  var playAction = _onAction.bind( _this, 'play' );
  var stopAction = _onAction.bind( _this, 'stop' );
  _this.childElements.playBtn.addEventListener( 'click', playAction );
  _this.childElements.closeBtn.addEventListener( 'click', stopAction );
}
function _initEvents ( ) { var playAction = _onAction . bind ( _this , 'play' ) ; var stopAction = _onAction . bind ( _this , 'stop' ) ; _this . childElements . playBtn . addEventListener ( 'click' , playAction ) ; _this . childElements . closeBtn . addEventListener ( 'click' , stopAction ) ; }
Function used to initialize events.
Function used to initialize events .