dist/crocodoc.viewer.js
function broadcast() {
        scope.broadcast('resize', {
            // shortcuts for offsetWidth/height
            width: currentOffsetWidth,
            height: currentOffsetHeight,
            // client width is width of the inner, visible area
            clientWidth: currentClientWidth,
            clientHeight: currentClientHeight,
            // offset width is the width of the element, including border,
            // padding, and scrollbars
            offsetWidth: currentOffsetWidth,
            offsetHeight: currentOffsetHeight
        });
    }
function broadcast() {
        scope.broadcast('resize', {
            // shortcuts for offsetWidth/height
            width: currentOffsetWidth,
            height: currentOffsetHeight,
            // client width is width of the inner, visible area
            clientWidth: currentClientWidth,
            clientHeight: currentClientHeight,
            // offset width is the width of the element, including border,
            // padding, and scrollbars
            offsetWidth: currentOffsetWidth,
            offsetHeight: currentOffsetHeight
        });
    }
function broadcast ( ) { scope . broadcast ( 'resize' , { // shortcuts for offsetWidth/height width : currentOffsetWidth , height : currentOffsetHeight , // client width is width of the inner, visible area clientWidth : currentClientWidth , clientHeight : currentClientHeight , // offset width is the width of the element, including border, // padding, and scrollbars offsetWidth : currentOffsetWidth , offsetHeight : currentOffsetHeight } ) ; }
Fire the resize event with the proper data
@returns {void}
@private
Fire the resize event with the proper data