src/js/view/datePickerLayer.js
function($input) {
        var inputOffset = $input.offset();
        var inputHeight = $input.outerHeight();
        var wrapperOffset = this.domState.getOffset();

        return {
            top: inputOffset.top - wrapperOffset.top + inputHeight,
            left: inputOffset.left - wrapperOffset.left
        };
    }
function($input) {
        var inputOffset = $input.offset();
        var inputHeight = $input.outerHeight();
        var wrapperOffset = this.domState.getOffset();

        return {
            top: inputOffset.top - wrapperOffset.top + inputHeight,
            left: inputOffset.left - wrapperOffset.left
        };
    }
function ( $input ) { var inputOffset = $input . offset ( ) ; var inputHeight = $input . outerHeight ( ) ; var wrapperOffset = this . domState . getOffset ( ) ; return { top : inputOffset . top - wrapperOffset . top + inputHeight , left : inputOffset . left - wrapperOffset . left } ; }
Calculates the position of the layer and returns the object that contains css properties.
@param {jQuery} $input - input element
@returns {Object}
@private
Calculates the position of the layer and returns the object that contains css properties .