The ngModelGroup directive allows you to group together related inputs so that you structure the object represented by the form in a useful and predictable way. ngModelGroup is often used in combination with fieldset as they mostly represent the same
获取页面某一元素的绝对X,Y坐标,可以用offset():var X = $(‘#DivID’).offset().top;var Y = $(‘#DivID’).offset().left; 获取相对(父元素)位置:var X = $(‘#DivID’).position().top;var Y = $(‘#DivID’).position().left; 通过getBoundingClientRect方法获取对象位置,包含: left , top , right , bottom 4个参数值