Package js.dom

Examples of js.dom.ClientRect


        @SubscribeUI(type = PointerEnter)
        private void show() {
            popup.append(content);
            popup.add(PopupViewStyle.Show.class);

            ClientRect popupArea = popup.position();
            ClientRect targetArea = root.position();

            popup.css("top", targetArea.bottom() + 15 + "px")
                    .css("left", targetArea.left() - popupArea.width() / 2 + targetArea.width() / 2 + "px");
        }
View Full Code Here

TOP

Related Classes of js.dom.ClientRect

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.