js/components/float-actions.js
/**
     * Event listener for a floating action
     * @param {DOMElement} page
    */
Event listener for a floating action
@param {DOMElement} page
Event listener for a floating action @param { DOMElement } page
function listenTo(page) {
    if (isElement(page)) {
      var c = page.querySelector('.content');
      if (c) {
        c.on('scroll', onContentScroll, false);
      } else {
        console.error('The given page does not contain any .content node');
      }
    } else {
      throw new Error("The page must be a DOMElement not a ".concat(_typeof(page)));
    }
  }
function listenTo ( page ) { if ( isElement ( page ) ) { var c = page . querySelector ( '.content' ) ; if ( c ) { c . on ( 'scroll' , onContentScroll , false ) ; } else { console . error ( 'The given page does not contain any .content node' ) ; } } else { throw new Error ( "The page must be a DOMElement not a " . concat ( _typeof ( page ) ) ) ; } }
Event listener for a floating action
 @param {DOMElement} page
Event listener for a floating action @param { DOMElement } page