src/aria/widgets/frames/FrameWithIcons.js
function (iconInfo, active) {
            // TODO: mutualize with the icon widget
            var style = ['padding:0;display:inline-block;background-position:-', iconInfo.iconLeft, 'px -',
                    iconInfo.iconTop, 'px;width:', iconInfo.width, 'px;height:', iconInfo.height,
                    'px;vertical-align: top;'];
            if (active) {
                style.push('cursor:pointer;');
            }
            return style.join('');
        }
function (iconInfo, active) {
            // TODO: mutualize with the icon widget
            var style = ['padding:0;display:inline-block;background-position:-', iconInfo.iconLeft, 'px -',
                    iconInfo.iconTop, 'px;width:', iconInfo.width, 'px;height:', iconInfo.height,
                    'px;vertical-align: top;'];
            if (active) {
                style.push('cursor:pointer;');
            }
            return style.join('');
        }
function ( iconInfo , active ) { // TODO: mutualize with the icon widget var style = [ 'padding:0;display:inline-block;background-position:-' , iconInfo . iconLeft , 'px -' , iconInfo . iconTop , 'px;width:' , iconInfo . width , 'px;height:' , iconInfo . height , 'px;vertical-align: top;' ] ; if ( active ) { style . push ( 'cursor:pointer;' ) ; } return style . join ( '' ) ; }
Return icon style as a string
@protected
@param {Object} iconInfo
@param {Boolean} active
@return {String}
Return icon style as a string