function _appendResponsiveClassNames($elemCollection, fWidth) {
			var sKey;

			switch (true) {
				case fWidth <= BREAK_POINTS.S:
					sKey = "S";
					break;
				case fWidth <= BREAK_POINTS.M && fWidth > BREAK_POINTS.S:
					sKey = "M";
					break;
				case fWidth <= BREAK_POINTS.L && fWidth > BREAK_POINTS.M:
					sKey = "L";
					break;
				default:
					sKey = "XL";
					break;
			}

			$elemCollection.each(function (index, elem) {
				var oControl = jQuery(elem).control(0);
				if (elem === oControl.getDomRef()) {
					oControl.addStyleClass(MEDIA[sKey]);
				} else {
					jQuery(elem).addClass(MEDIA[sKey]);
				}
			});
		}
/**
		 * Calculates and breakpoints and appends Responsive Class names to a list of DOMRefs.
		 * Takes the width of oControl as base.
		 *
		 * @param $elemCollection
		 * @param fWidth
		 * @private
		 */
Calculates and breakpoints and appends Responsive Class names to a list of DOMRefs.
Takes the width of oControl as base.

@param $elemCollection
@param fWidth
@private
Calculates and breakpoints and appends Responsive Class names to a list of DOMRefs . Takes the width of oControl as base . @param $elemCollection @param fWidth @private
function _appendResponsiveClassNames($elemCollection, fWidth) {
			var sKey;
			switch (true) {
				case fWidth <= BREAK_POINTS.S:
					sKey = "S";
					break;
				case fWidth <= BREAK_POINTS.M && fWidth > BREAK_POINTS.S:
					sKey = "M";
					break;
				case fWidth <= BREAK_POINTS.L && fWidth > BREAK_POINTS.M:
					sKey = "L";
					break;
				default:
					sKey = "XL";
					break;
			}
			$elemCollection.each(function (index, elem) {
				var oControl = jQuery(elem).control(0);
				if (elem === oControl.getDomRef()) {
					oControl.addStyleClass(MEDIA[sKey]);
				} else {
					jQuery(elem).addClass(MEDIA[sKey]);
				}
			});
		}
function _appendResponsiveClassNames ( $elemCollection , fWidth ) { var sKey ; switch ( true ) { case fWidth <= BREAK_POINTS . S : sKey = "S" ; break ; case fWidth <= BREAK_POINTS . M && fWidth > BREAK_POINTS . S : sKey = "M" ; break ; case fWidth <= BREAK_POINTS . L && fWidth > BREAK_POINTS . M : sKey = "L" ; break ; default : sKey = "XL" ; break ; } $elemCollection . each ( function ( index , elem ) { var oControl = jQuery ( elem ) . control ( 0 ) ; if ( elem === oControl . getDomRef ( ) ) { oControl . addStyleClass ( MEDIA [ sKey ] ) ; } else { jQuery ( elem ) . addClass ( MEDIA [ sKey ] ) ; } } ) ; }
Calculates and breakpoints and appends Responsive Class names to a list of DOMRefs.
Calculates and breakpoints and appends Responsive Class names to a list of DOMRefs .