w/extensions/MobileFrontend/resources/mobile.categories.overlays/CategoryOverlay.js
/**
	 * Displays the list of categories for a page
	 * @class CategoryOverlay
	 * @extends Overlay
	 * @uses CategoryGateway
	 *
	 * @constructor
	 * @param {Object} options Configuration options
	 */
Displays the list of categories for a page
@class CategoryOverlay
@extends Overlay
@uses CategoryGateway

@constructor
@param {Object} options Configuration options
Displays the list of categories for a page @class CategoryOverlay @extends Overlay @uses CategoryGateway @constructor @param { Object } options Configuration options
function CategoryOverlay( options ) {
		this.infiniteScroll = new InfiniteScroll();
		this.infiniteScroll.on( 'load', this._loadCategories.bind( this ) );
		this.gateway = new CategoryGateway( options.api );
		M.on( 'category-added', this._loadCategories.bind( this ) );
		Overlay.apply( this, arguments );
	}
function CategoryOverlay ( options ) { this . infiniteScroll = new InfiniteScroll ( ) ; this . infiniteScroll . on ( 'load' , this . _loadCategories . bind ( this ) ) ; this . gateway = new CategoryGateway ( options . api ) ; M . on ( 'category-added' , this . _loadCategories . bind ( this ) ) ; Overlay . apply ( this , arguments ) ; }
Displays the list of categories for a page
 @class CategoryOverlay
 @extends Overlay
 @uses CategoryGateway
Displays the list of categories for a page @class CategoryOverlay @extends Overlay @uses CategoryGateway