dist/js/propeller.js
function onResizeWindow(e) {
		var options = e.data.param1;
		var sideBarSelector=Selector.SIDEBAR;
		$(sideBarSelector).each(function () {
			var $this = $(this);
			var sideBarId = $this.attr("id");
			var isOpenWidth=$("a[data-target="+sideBarId+"]").attr("is-open-width");
			if($(window).width()<isOpenWidth) {
				if ($("#"+sideBarId).hasClass(ClassName.LEFT && ClassName.SLIDE_PUSH)) {
					$("#"+sideBarId).removeClass(ClassName.OPEN + ' ' + ClassName.SLIDE_PUSH);
					$("#"+sideBarId).addClass(ClassName.LEFT_FIXED + ' ' + ClassName.IS_SLIDEPUSH);
				} else {
					$("#"+sideBarId).removeClass(ClassName.OPEN);
				}
			}else{
				if ($("#"+sideBarId).hasClass(ClassName.IS_SLIDEPUSH)) {
					$("#"+sideBarId).addClass(ClassName.OPEN + ' ' + ClassName.SLIDE_PUSH);
					$("#"+sideBarId).removeClass(ClassName.LEFT_FIXED);	
				} else {
					$("#"+sideBarId).addClass(ClassName.OPEN);
				}
			}
		});
		$(pmdSidebar.prototype.attachParentSelector(Selector.PARENT_SELECTOR, Selector.OVERLAY)).removeClass(ClassName.OVERLAY_ACTIVE);
		$(Selector.BODY).removeClass(ClassName.BODY_OPEN);
    }
function onResizeWindow(e) {
		var options = e.data.param1;
		var sideBarSelector=Selector.SIDEBAR;
		$(sideBarSelector).each(function () {
			var $this = $(this);
			var sideBarId = $this.attr("id");
			var isOpenWidth=$("a[data-target="+sideBarId+"]").attr("is-open-width");
			if($(window).width()<isOpenWidth) {
				if ($("#"+sideBarId).hasClass(ClassName.LEFT && ClassName.SLIDE_PUSH)) {
					$("#"+sideBarId).removeClass(ClassName.OPEN + ' ' + ClassName.SLIDE_PUSH);
					$("#"+sideBarId).addClass(ClassName.LEFT_FIXED + ' ' + ClassName.IS_SLIDEPUSH);
				} else {
					$("#"+sideBarId).removeClass(ClassName.OPEN);
				}
			}else{
				if ($("#"+sideBarId).hasClass(ClassName.IS_SLIDEPUSH)) {
					$("#"+sideBarId).addClass(ClassName.OPEN + ' ' + ClassName.SLIDE_PUSH);
					$("#"+sideBarId).removeClass(ClassName.LEFT_FIXED);	
				} else {
					$("#"+sideBarId).addClass(ClassName.OPEN);
				}
			}
		});
		$(pmdSidebar.prototype.attachParentSelector(Selector.PARENT_SELECTOR, Selector.OVERLAY)).removeClass(ClassName.OVERLAY_ACTIVE);
		$(Selector.BODY).removeClass(ClassName.BODY_OPEN);
    }
function onResizeWindow ( e ) { var options = e . data . param1 ; var sideBarSelector = Selector . SIDEBAR ; $ ( sideBarSelector ) . each ( function ( ) { var $this = $ ( this ) ; var sideBarId = $this . attr ( "id" ) ; var isOpenWidth = $ ( "a[data-target=" + sideBarId + "]" ) . attr ( "is-open-width" ) ; if ( $ ( window ) . width ( ) < isOpenWidth ) { if ( $ ( "#" + sideBarId ) . hasClass ( ClassName . LEFT && ClassName . SLIDE_PUSH ) ) { $ ( "#" + sideBarId ) . removeClass ( ClassName . OPEN + ' ' + ClassName . SLIDE_PUSH ) ; $ ( "#" + sideBarId ) . addClass ( ClassName . LEFT_FIXED + ' ' + ClassName . IS_SLIDEPUSH ) ; } else { $ ( "#" + sideBarId ) . removeClass ( ClassName . OPEN ) ; } } else { if ( $ ( "#" + sideBarId ) . hasClass ( ClassName . IS_SLIDEPUSH ) ) { $ ( "#" + sideBarId ) . addClass ( ClassName . OPEN + ' ' + ClassName . SLIDE_PUSH ) ; $ ( "#" + sideBarId ) . removeClass ( ClassName . LEFT_FIXED ) ; } else { $ ( "#" + sideBarId ) . addClass ( ClassName . OPEN ) ; } } } ) ; $ ( pmdSidebar . prototype . attachParentSelector ( Selector . PARENT_SELECTOR , Selector . OVERLAY ) ) . removeClass ( ClassName . OVERLAY_ACTIVE ) ; $ ( Selector . BODY ) . removeClass ( ClassName . BODY_OPEN ) ; }
On Window Resize
On Window Resize